Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
To develop interface from VFP to WS but not know how
Message
From
10/10/2020 12:22:36
 
 
To
10/10/2020 12:10:33
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
01676523
Message ID:
01676589
Views:
25
Likes (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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform