post to cgi, JSON in Headers?

Klaus major-k klaus at major-k.de
Wed Jan 31 11:25:00 EST 2018


Hi friends,

I am scripting a routine to upload a PDF file to a server.
So far, so good-> libURLMultipartFormData() is my friend.

but now the developer of the API send me two TOKENs for authentification and said: 
"...and make sure you're posting the HTTP header data (the tokens) as application/json."
???
Now he is not available for the next hours. :-(

Anyone knows what he is talking about and how I can add this to my scripts?
Thanks a lot in advance!


Best

Klaus
--
Klaus Major
http://www.major-k.de
klaus at major-k.de





More information about the use-livecode mailing list