All, So we have been using the HTTP to grab XML and parse it without any problems. Now we have a 3rd party that we will need to call their API and return JSON. Now I know this is not a support for JSON but the calling
of the API should be the same I would think. Just returning a different format. ( I have called a different API to return the JSON the same way below and could parse it but the 3rd party “calling” is different. It was an entirely different 3rd
party that was on the web for free to test.) So a basic way we always use the XML is like this. ( used an example program ) url = ''; filename = http_tempfile() + '.xml'; rc = http_url_get( url : filename ); etc…….. Now the 3rd party says we cannot pass a request through a URL like this.
Here is the 3rd party website (
https://www.samsara.com/api ) We have to pass some “parameters” or a “data” file. I’m not sure how to do this in the HTTP examples. Any pointers or pushing me in to the right direction would be great. I’m close I think but maybe just don’t understand it in my head. Thanks again for all your help.
The information contained in this e-mail is intended only for the individual or entity to whom it is addressed. Its contents (including any attachments) may contain confidential and/or privileged information. If you are not an intended recipient you shall not use, disclose, disseminate, copy or print its contents. If you receive this e-mail in error, please notify the sender by reply e-mail and delete and destroy the message. Continental Express, Inc. and its subsidiaries and affiliates will not be held liable for the unintended or unauthorized use of any information contained in this email or as a result of any additions or deletions of information originally contained in this email. |
_______________________________________________ Ftpapi mailing list Ftpapi@xxxxxxxxxxxxxxxxxxxxxx http://scottklement.com/mailman/listinfo/ftpapi