Issue resolved. Thank you!
- markl
Search found 6 matches
- Tue Feb 04, 2025 6:45 pm
- Forum: YAJL-ILE
- Topic: DATA-INTO Error
- Replies: 2
- Views: 32947
- Mon Feb 03, 2025 8:29 pm
- Forum: HTTPAPI
- Topic: Authentication Routine Using JSON
- Replies: 9
- Views: 54234
Re: Authentication Routine Using JSON
This issue has been resolved. I had an error in the clientId. The web developer said he was sending a "Bad Request - ClientId/ClientSecret invalid." but I was only seeing "HTTP/1.1 400 Bad Request"
Now that the web service is returning the authorization token, I'm trying to use the YAJL DATA-INTO ...
Now that the web service is returning the authorization token, I'm trying to use the YAJL DATA-INTO ...
- Mon Feb 03, 2025 8:22 pm
- Forum: YAJL-ILE
- Topic: DATA-INTO Error
- Replies: 2
- Views: 32947
DATA-INTO Error
This is a follow up post to the issue I was having with HTTPAPI. That issue has been resolved.
I have a simple authorization routine. I copied much of the code from the recent OATH2 post. I POST a clientId and clientSecret to a webservice and it returns an expires variable and an access token ...
I have a simple authorization routine. I copied much of the code from the recent OATH2 post. I POST a clientId and clientSecret to a webservice and it returns an expires variable and an access token ...
- Mon Feb 03, 2025 3:10 pm
- Forum: HTTPAPI
- Topic: Authentication Routine Using JSON
- Replies: 9
- Views: 54234
Re: Authentication Routine Using JSON
Thank you for the response.
I did find a difference in case but that didn't make a difference - same error: HTTP/1.1 400 Bad Request
The unlink opcode is new to me. I misinterpreted one of the examples I was reviewing. They're for IFS files. I removed that code.
Any other suggestions?
I did find a difference in case but that didn't make a difference - same error: HTTP/1.1 400 Bad Request
The unlink opcode is new to me. I misinterpreted one of the examples I was reviewing. They're for IFS files. I removed that code.
Any other suggestions?
- Mon Jan 27, 2025 8:46 pm
- Forum: HTTPAPI
- Topic: Authentication Routine Using JSON
- Replies: 9
- Views: 54234
Re: Authentication Routine Using JSON
After working with the authentication server web developer, we have determined that sending JSON to his authentication routine is not required. He was able to CURL and URL encode the variables to the server and retrieve the (JSON) security token. This is his CURL and JSON output which I'm attempting ...
- Mon Jan 20, 2025 10:01 pm
- Forum: HTTPAPI
- Topic: Authentication Routine Using JSON
- Replies: 9
- Views: 54234
Authentication Routine Using JSON
New poster, long time RPG developer but somewhat new to interfacing with web servers. HTTPAPI_VERSION 1.48
I have a simple application that needs to POST a couple static JSON fields (or one JSON field with JSON formatting) to an authentication server which should retrieve a token if authenticated ...
I have a simple application that needs to POST a couple static JSON fields (or one JSON field with JSON formatting) to an authentication server which should retrieve a token if authenticated ...