Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

http request via function modules http_post and http_get

Former Member
0 Likes
850

Dear all,

I try to do a http request with the function modules http_post and http_get. I found some example codes and a testreport.

I always get the exception u201EConnect to Host WWW.GOOGLE.DE Port 80 error: NIECONN_REFUSEDu201D.

The same behaviour I got with the classes

Does anyone knows what to do? I checked the RFC destination SAPHTTPA - everything should be ok...

Best regards

Andy

2 REPLIES 2
Read only

darren_bambrick2
Active Participant
0 Likes
587

Hi Andy

You are trying to connect to google on the internet so you probably need to go through a proxy with authentication.

Read only

0 Likes
587

Hi Darren,

when I´m using proxy, I get another excepiton called "NiHostTo Addr HTTP error: NIEHOST_UNKNOWN".

Any idea ehat happend?