Hi all,

I am in need of an example of how to use tsnet to send a PATCH request to a
REST API. I have some JSON (tJson) like '{"myField":"Data"}' and
address (tAddr) like 'https://myLink.com/object/name/idNumber' and tHeaders
like "Accept-Encoding: gzip" &cr& "Authorization: Bearer" &&
tAccessToken" &cr& "Content-length:" && tLen &cr& "Content-type:
application/json". How do I build my tsnet request?

put tsnetCustomSync(tAddr, "PATCH", tHeaders, tRecvHeaders, tResultCode,
tBytes) into tData

Where does tJson get put?

Thanks
Sean
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to