In your code I do not see where you set the url.URL should be set to the site you are trying to get to, this would cause the host name lookup failure in the log
This is my first time to use HTTPAPI in RPG to post a JSON API to a web service. I've been successful in generating the jsonData, but I got stopped at the sending part. I keep getting the error message below. Do you have any idea what's causing the error and how I can correct it?
Jose Tumbaga Jr.
Sample Program Code 1.JPG
Description: JPEG image
-- _______________________________________________ Ftpapi mailing list Ftpapi@xxxxxxxxxxxxxxxxxxxxxx http://scottklement.com/mailman/listinfo/ftpapi