Hi,
I am hoping this is a simple question.
What command do I use in HTTPAPI to force and end and drop connection from the IBM I?
The remote host want to keep connection alive for 60 minutes. This is OK sometimes but most of the user jobs won't last that long.
Any ideas are appreciated ...
Search found 11 matches
- Fri Aug 09, 2024 8:53 pm
- Forum: HTTPAPI
- Topic: force end of HTTPAPI Connection with remote server
- Replies: 1
- Views: 24274
- Wed Jul 17, 2024 10:14 pm
- Forum: HTTPAPI
- Topic: Client sites rejects request for new bearer token after existing bearer token has Expired.
- Replies: 7
- Views: 22078
Re: Client sites rejects request for new bearer token after existing bearer token has Expired.
Hi Scott,
Thanks for the Clarification on the purpose of the Access Token. I verified that the One Source does provide the access token.
I ignored it before because I didn't understand its purpose.
SetError() #13: HTTP/1.1 200 OK
recvresp(): end with 200
recvdoc parms: identity 253
header_load ...
Thanks for the Clarification on the purpose of the Access Token. I verified that the One Source does provide the access token.
I ignored it before because I didn't understand its purpose.
SetError() #13: HTTP/1.1 200 OK
recvresp(): end with 200
recvdoc parms: identity 253
header_load ...
- Wed Jul 17, 2024 9:33 pm
- Forum: HTTPAPI
- Topic: Client sites rejects request for new bearer token after existing bearer token has Expired.
- Replies: 7
- Views: 22078
Re: Client sites rejects request for new bearer token after existing bearer token has Expired.
I changed the header
//-------------------------------------------------------------------------------
// add_Bearer_Headers -- Subprocedure
//-------------------------------------------------------------------------------
dcl-proc add_Bearer_Headers;
dcl-pi *n;
headers varchar(32767);
end ...
//-------------------------------------------------------------------------------
// add_Bearer_Headers -- Subprocedure
//-------------------------------------------------------------------------------
dcl-proc add_Bearer_Headers;
dcl-pi *n;
headers varchar(32767);
end ...
- Wed Jul 17, 2024 8:38 pm
- Forum: HTTPAPI
- Topic: Client sites rejects request for new bearer token after existing bearer token has Expired.
- Replies: 7
- Views: 22078
Re: Client sites rejects request for new bearer token after existing bearer token has Expired.
Hi Scott,
Thanks for the quick reply!
Here is my header routine:
//-------------------------------------------------------------------------------
// add_Bearer_Headers -- Subprocedure
//-------------------------------------------------------------------------------
dcl-proc add_Bearer ...
Thanks for the quick reply!
Here is my header routine:
//-------------------------------------------------------------------------------
// add_Bearer_Headers -- Subprocedure
//-------------------------------------------------------------------------------
dcl-proc add_Bearer ...
- Wed Jul 17, 2024 6:05 pm
- Forum: HTTPAPI
- Topic: Client sites rejects request for new bearer token after existing bearer token has Expired.
- Replies: 7
- Views: 22078
Client sites rejects request for new bearer token after existing bearer token has Expired.
Hi
Hope I can find an answer to a vexing question:
we are Connecting using HTTPAPI to a provider that requires OAuth2 bearer tokens. These are set to expire after 1799 seconds (approx. 30 minutes).
In my program I add bearer token life to current time to get and expiration data time. On each ...
Hope I can find an answer to a vexing question:
we are Connecting using HTTPAPI to a provider that requires OAuth2 bearer tokens. These are set to expire after 1799 seconds (approx. 30 minutes).
In my program I add bearer token life to current time to get and expiration data time. On each ...
- Fri Jan 26, 2024 6:19 pm
- Forum: YAJL-ILE
- Topic: YAJL -- Power 10 and V7R5 Compatiblitly
- Replies: 1
- Views: 19427
YAJL -- Power 10 and V7R5 Compatiblitly
Hi Scott and Community,
My company is planning a hardware migration from IBM i Power 8 to Power 10 in the first quarter of 2024. We are also planning to upgrade OS from V7R4 to V7R5 by the end of 2024. Is the current version of YAJL compatible with both of these changes?
If not is there a ...
My company is planning a hardware migration from IBM i Power 8 to Power 10 in the first quarter of 2024. We are also planning to upgrade OS from V7R4 to V7R5 by the end of 2024. Is the current version of YAJL compatible with both of these changes?
If not is there a ...
- Fri Jan 26, 2024 6:13 pm
- Forum: HTTPAPI
- Topic: HTTPAPI V7R5 and Power 10 Compatibility.
- Replies: 1
- Views: 8437
HTTPAPI V7R5 and Power 10 Compatibility.
Hi Scott and Community,
My company is planning a hardware migration from IBM i Power 8 to Power 10 in the first quarter of 2024. We are also planning to upgrade OS from V7R4 to V7R5 by the end of 2024. Is the current version of HTTPAPI we are using (Ver 1.45 released 2021-09-20) compatible with ...
My company is planning a hardware migration from IBM i Power 8 to Power 10 in the first quarter of 2024. We are also planning to upgrade OS from V7R4 to V7R5 by the end of 2024. Is the current version of HTTPAPI we are using (Ver 1.45 released 2021-09-20) compatible with ...
- Fri Jan 26, 2024 6:07 pm
- Forum: HTTPAPI
- Topic: Geting Http 400 Error on log in to Google API
- Replies: 4
- Views: 15325
Re: Geting Http 400 Error on log in to Google API
Hi Scott,
Thanks again for your help.
Once I changed the code add the request and the key to the URL header it worked fine.
Dale
Thanks again for your help.
Once I changed the code add the request and the key to the URL header it worked fine.
Dale
- Thu Dec 28, 2023 5:19 pm
- Forum: HTTPAPI
- Topic: Geting Http 400 Error on log in to Google API
- Replies: 4
- Views: 15325
Geting Http 400 Error on log in to Google API
Hi,
I am working on new project that requires a log into API and send parameters and API key in headers only
format is https://maps.googleapis.com/maps/api/geocode/json?address=%20506%20...&key=AIz...
This is my HTTPAPI routine
dcl-s response varchar(16000000);
dcl-s formdata varchar(1024 ...
I am working on new project that requires a log into API and send parameters and API key in headers only
format is https://maps.googleapis.com/maps/api/geocode/json?address=%20506%20...&key=AIz...
This is my HTTPAPI routine
dcl-s response varchar(16000000);
dcl-s formdata varchar(1024 ...
- Tue Dec 26, 2023 11:30 pm
- Forum: HTTPAPI
- Topic: Getting HTTP 400 Bad Request Back from API Vendor with Bearer Key.
- Replies: 2
- Views: 28909
Re: Getting HTTP 400 Bad Request Back from API Vendor with Bearer Key.
Hi Scott,
That worked great! Thanks for your help.
Dale
That worked great! Thanks for your help.
Dale