Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

consuminga json webservice (1 reply)

$
0
0
Hi

I am trying to consume a webservice witch returns json…. Well I am a bit stuck. I can not get the return string to convert to a variant.

I need to import some currencies. The help gives me this: But stops there:


h is httpRequest
h..Method = httpGet
h..URL = "[apilayer.net];


r is restResponse = RESTSend(h)
info(r.content)

But how do I get this to a variant?

buffervar is Buffer = r.Content

( if I click on the buffervar in debug mode then I can select Json and I see exactly what I want.


regards







Regards

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>