RESTful PUT error

Bob Sneidar bobsneidar at iotecdigital.com
Mon Nov 27 18:20:25 EST 2017


Why do you set the httpHeaders to empty just before you set them to something? 

Bob S



> On Nov 27, 2017, at 04:27 , Todd Fabacher via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> *--Build the REST API Header*
> 
> *set* the httpHeaders to empty
> 
> *put* "Accept: application/json" & CR after tHeaders
> 
> *put* "Content-Type: application/x-www-form-urlencoded"  & CR after tHeaders
> 
> *set* the httpHeaders to tHeaders
> 





More information about the use-livecode mailing list