Search found 5 matches

by Giel
Tue Jul 29, 2025 8:06 am
Forum: HTTPAPI
Topic: Remote Host Refused Connection
Replies: 3
Views: 9486

Re: Remote Host Refused Connection

thank you for the response. I just want to check, before I contact the network people. Would this still be true even if I am able to ping the server from the AS400? I just want to get my wording correct for the network team

I think also it could be to do with the fact that it is an HTTPS, there ...
by Giel
Fri Jul 25, 2025 9:40 am
Forum: HTTPAPI
Topic: Remote Host Refused Connection
Replies: 3
Views: 9486

Remote Host Refused Connection

Hi there everyone. Giel here.
I am using HTTPAPI version 1.45

I am attempting to connect to the following API
https://zedatest.apigw-aw-eu.webmethods.io/gateway/ALCDocument/1.0/getDocument?LaserficheProfileId=2&EntryId=8542710

Using http_string and getting the following error:
connect(2): A ...
by Giel
Tue Nov 21, 2023 7:30 am
Forum: HTTPAPI
Topic: HTTP header
Replies: 5
Views: 19507

Re: HTTP header

thank you I have already upgraded the file I just need to now upgrade my program :lol:
by Giel
Tue Nov 21, 2023 6:50 am
Forum: HTTPAPI
Topic: HTTP header
Replies: 5
Views: 19507

Re: HTTP header

thank you for all the info, it is very much appreciated

I was given a choice between REST and SOAP, I just took the SOAP option because I was given a C# program to get the layout of the API.
Unfortunately I am not in a position to ask for changes so I will just have to make do with what I have at ...
by Giel
Tue Nov 21, 2023 4:47 am
Forum: HTTPAPI
Topic: HTTP header
Replies: 5
Views: 19507

HTTP header

Good day, I need to add the following http header for my soap call, I am working on RPGLE.
The addition is C# is : request.Headers.Add("Identity", "root");
This is what my SOAP looks like currently:

Out_Http_Err = *Blank;
http_setOption('content-type': 'application/soap+xml; charset=utf-8 ...