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

Re: [Ftpapi] Inquiry on HTTPAPI Error



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

 


Mike Corbo
Programmer Analyst
National Retail Systems, Inc.
611 Rte 46W
Hasbrouck Heights, NJ 07604
T.201.330.1900 x2713
E.Mike.Corbo@xxxxxxxxxxxxx

From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Jose Tumbaga
Sent: Thursday, April 5, 2018 3:27 AM
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: [Ftpapi] Inquiry on HTTPAPI Error

 

Hi,

 

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?

 

Regards,

 

Jose Tumbaga Jr.

 

 

 

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