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

Re: [Ftpapi] Inquiry on HTTPAPI Error



Hi Mike,

Thanks for the response. I believe the URL is a parameter for the http_url_post function. Or do I have to set it up somewhere else?

Attaching the code again.

Regards,

Jose 


On Friday, April 6, 2018, 1:52:13 AM GMT+8, Mike Corbo <Mike.Corbo@xxxxxxxxxxxxx> wrote:


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

Attachment: Sample Program Code 1.JPG
Description: JPEG image

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