Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
To develop interface from VFP to WS but not know how
Message
De
10/10/2020 12:22:36
 
 
À
10/10/2020 12:10:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
01676523
Message ID:
01676589
Vues:
24
J'aime (1)
>Hi, Antonio, I made the changes you suggested and it worked!
>
>No doubt, I have much to learn when working between VFP and Web Services. That "content-type" meta-tag always has me thinking. I used "json=" in the Send() method just because it worked on a previous interface you helped me with.
>
>Now the WS returns a Json string similar to the one below, which is expected:
>
>
>[
> {
> "_verify": true,
> "additional_info": null,
> "error": {
> "error_description": "",
> "error_location": "",
> "system_error": false
> },
> "generic_id": 21,
> "generic_id_str": null
> }
>]
>

>
>Is there any tool that can change that json into cursor(s) or perhaps into something more easy for VFP to read it?
>
>TIA

Luis, glad to hear that it worked.

For JSON processing in VFP there are a few tools out there that you can use. Without disregard to others whatsoever, I recommend Marco Plaza's full-featured nfJson set of programs that you can find at VFPX: https://github.com/VFPX/nfJson.
----------------------------------
António Tavares Lopes
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform