[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ftpapi] help with example 14



Hi Nancy,

Unfortunately, I no longer do UPS shipments, so I'm not in a position to test an updated UPS shipping example.  Perhaps one of the other list members has one?

I would recommend using http_req() or http_string(). http_url_post/http_url_post_raw are old-school and more complex to use.  If you post your Postman example, I could tell you how to do the same thing with HTTPAPI.

--
Scott Klement
sk@xxxxxxxxxxxxxxxx


On 3/9/2021 10:01 AM, Nancy Kunde wrote:
Is there an example similar to example 14 except in JSON?

I need to get in transit from UPS but using JSON.  I was able to test it using POSTMAN but haven't  in RPG.   Would I use http_url_post or http_url_post_raw?  Do I use an encoder procedure?

The JSON for UPS has the user & password in it.   So I know there is no authorization needed.

Nancy

--
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi