IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

WinDev Discussion :

API OVH CURL command line


Sujet :

WinDev

  1. #1
    Candidat au Club
    Profil pro
    Inscrit en
    Août 2013
    Messages
    3
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations forums :
    Inscription : Août 2013
    Messages : 3
    Points : 4
    Points
    4
    Par défaut API OVH CURL command line
    Bonjour,

    Je développe une application de communication avec les api ovh ( les nouvelles )
    donc je passe par ligne de commande, mais j'ai des soucis

    voici mon code :
    C:\curl\curl.exe -k -XPOST -H »X-Ovh-Applicationxxxxx » -H «Content-type:application/json» https://eu.api.ovh.com/1.0/auth/credential -d ‘{« accessRules »: [ {« method »: « GET »,« path »: « /* »},{« method »: « POST »,« path »: « /* »},{« method »: « DELETE »,« path »: « /* »},{« method »: « PUT »,« path »: « /* »} ],« redirection »:«http://www.toto.com/»}’

    et voila les erreurs :

    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    curl: (6) Could not resolve host: xn--zkb
    {"message":"You must send your application key to request new credentials"}curl:
    (6) Could not resolve host: accessRules
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    curl: (6) Could not resolve host: xn--zkb
    curl: (3) [globbing] bad range specification in column 2
    curl: (3) [globbing] unmatched brace in column 1
    curl: (6) Could not resolve host: method
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    curl: (6) Could not resolve host: xn--zkb
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    curl: (6) Could not resolve host: xn--qqa
    curl: (6) Could not resolve host: GET
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    curl: (6) Could not resolve host: xn--`-66a713a
    curl: (6) Could not resolve host: path
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    curl: (6) Could not resolve host: xn--zkb
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    curl: (6) Could not resolve host: xn--qqa
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) [globbing] unmatched close brace/bracket in column 2
    curl: (6) Could not resolve host: method
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    curl: (6) Could not resolve host: xn--zkb
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    curl: (6) Could not resolve host: xn--qqa
    curl: (6) Could not resolve host: POST
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    curl: (6) Could not resolve host: xn--qqa94s
    curl: (6) Could not resolve host: path
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    curl: (6) Could not resolve host: xn--zkb
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    curl: (6) Could not resolve host: xn--qqa
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) [globbing] unmatched close brace/bracket in column 2
    curl: (6) Could not resolve host: method
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    curl: (6) Could not resolve host: xn--zkb
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    curl: (6) Could not resolve host: xn--qqa
    curl: (6) Could not resolve host: DELETE
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    curl: (6) Could not resolve host: xn--qqa94s
    curl: (6) Could not resolve host: path
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    curl: (6) Could not resolve host: xn--zkb
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    curl: (6) Could not resolve host: xn--qqa
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) [globbing] unmatched close brace/bracket in column 2
    curl: (6) Could not resolve host: method
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    curl: (6) Could not resolve host: xn--zkb
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    curl: (6) Could not resolve host: xn--qqa
    curl: (6) Could not resolve host: PUT
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    curl: (6) Could not resolve host: xn--h-66a713a
    curl: (6) Could not resolve host: path
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    curl: (6) Could not resolve host: xn--zkb
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    libidn: warning: libiconv not installed, cannot convert data to UTF-8
    curl: (6) Could not resolve host: xn--qqa
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) <url> malformed
    curl: (3) [globbing] unmatched close brace/bracket in column 2
    curl: (3) [globbing] unmatched close brace/bracket in column 1
    curl: (6) Could not resolve host: redirection
    curl: (3) [globbing] unmatched close brace/bracket in column 30


    ---
    Une idée ?
    merci

  2. #2
    Membre chevronné
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Mars 2009
    Messages
    1 278
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 40

    Informations professionnelles :
    Activité : Développeur informatique

    Informations forums :
    Inscription : Mars 2009
    Messages : 1 278
    Points : 2 153
    Points
    2 153
    Par défaut
    M'est avis que ce problème n'a rien à voir avec Windev... et qu'il va vous falloir lire la documentation fournie par OVH....

    PS : d'après le retour on peut déjà en déduire qu'il y a un problème avec l'installation de libiconv....

Discussions similaires

  1. Accents Command Line depuis un script Python
    Par nicou50 dans le forum Général Python
    Réponses: 6
    Dernier message: 29/12/2006, 10h41
  2. [Visual C++] Add build events et command line
    Par cfrelet dans le forum MFC
    Réponses: 6
    Dernier message: 11/05/2006, 11h32
  3. [Dev-CPP] Peut-on voir la command line du projet?
    Par vdumont dans le forum Dev-C++
    Réponses: 2
    Dernier message: 04/04/2006, 21h28
  4. unrecognized command line.....DEVC++
    Par Guillaume602 dans le forum Dev-C++
    Réponses: 8
    Dernier message: 20/11/2005, 15h18
  5. newbie : fichier xml vers html via command-line
    Par morti dans le forum XML/XSL et SOAP
    Réponses: 1
    Dernier message: 08/11/2005, 07h34

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo