>>
>>Luis, lots of guesswork here because I don't have the specs of the service (I don't even know what its purpose is), but you could eventually use the following as a template for the call:
>>
>>[...]
>>
>>Since the service is expecting url-encoded character data, the value of m.Parametros should be transformed accordingly. There are a few functions in VFP that do this, you may google for it, but just say something here if you couldn't find one.
>
>Thanks Antonio, I found a url encoding UDF at
>
>
http://fox.wikis.com/wc.dll?vfp~GoogleTranslater~VB>
>Applied to the "parametro" variable and it worked, like a charm. Now I have to make it parameterizable.
>
>Thank you very much
Great, Luis.
Remember to check on one of the available JSON VFP libraries, like Marco's
nfJson at VFPX, to facilitate the encoding of the call parameters. They include arrays, so I'll assume that a linear single-level template won't be sufficient in some cases.
----------------------------------
António Tavares Lopes