Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing JSON to http Post?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01646398
Message ID:
01646414
Vues:
32
Thank you for the explanation, Thomas. I am getting result 500 (which I understand is the server error) and I am not sure if I am doing something wrong in my VFP code or there is different problem. I will keep on trying.

>Hi Dmitri,
>
>the name of the method ("httpget") misleads you. In the help for this method the following is written:
>
>"The method can POST data to the server by calling AddPostKey() to calling HTTPGet. Any other properties of the wwIPStuff object that affect an HTTP connection (nHTTPPostMode,nHTTPConnectType etc.) can be set prior to calling this method with exception of the following that are retrieved from the URL:..."
>
>And this is what I do. First add a postkey (The json-string with the login-information) and then the httpget (which really does a post in this case).
>
>Best regards
>
>Thomas
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform