Search found 5 matches
JP Morgan
I will need to be able to communicate with JP Morgan soon. They have multiple layers of security I am not sure I understand yet. Has anyone worked with them yet? While they may know their side very well, I do not know if they will be much help with the IBM i side of the conversation.
- Mon Nov 01, 2021 3:17 pm
- Forum: HTTPAPI
- Topic: http_req( but need the http code on failure
- Replies: 6
- Views: 24235
Re: http_req( but need the http code on failure
This worked great!
http_error(*omit: status);
http_error(*omit: status);
- Mon Nov 01, 2021 1:53 pm
- Forum: HTTPAPI
- Topic: http_req( but need the http code on failure
- Replies: 6
- Views: 24235
Re: http_req( but need the http code on failure
Will try today. Thanks for the quick response.
- Fri Oct 29, 2021 7:07 pm
- Forum: HTTPAPI
- Topic: http_req( but need the http code on failure
- Replies: 6
- Views: 24235
Re: http_req( but need the http code on failure
Well, I did see that with another code, 404, but the 401 came out as -1. So did the timeout just now. I log the code and the message text. 404 | {"Message":"No HTTP resource was found that matches the request URI -1 | {"message":"Invalid username/password."} 200 | ...
- Thu Oct 28, 2021 9:29 pm
- Forum: HTTPAPI
- Topic: http_req( but need the http code on failure
- Replies: 6
- Views: 24235
http_req( but need the http code on failure
This code is working fine. My only problem is when it fails, I cannot capture the HTTP status code, 401 for example. The gReponse variable contains the text for the reason " {"message":"Invalid username/password."} ". I could force the errors and translate text to error...