Search found 15 matches

by Paul C
Thu Jun 01, 2023 4:59 pm
Forum: HTTPAPI
Topic: GSKit access - error=3027
Replies: 2
Views: 2034

Re: GSKit access - error=3027

Hi Scott: Here is more information I got from the message log. Unlink debug file failed with errno=3027 http_setauth(): entered http_persist_open(): entered http_long_ParseURL(): entered DNS resolver retrans: 2 DNS resolver retry : 2 DNS resolver options: x'00000136' DNS default domain: CPWM.US DNS ...
by Paul C
Thu Jun 01, 2023 4:13 pm
Forum: HTTPAPI
Topic: GSKit access - error=3027
Replies: 2
Views: 2034

GSKit access - error=3027

Hi Scott: Why am I getting error=3027 with GSKit. Is this simply an authority issue? Thanks Paul CPF9897 Diagnostic 40 05/30/23 14:30:30.114011 HTTPAPIR4 KBLIBHTTP *STMT HTTPAPIR4 KBLIBHTTP *STMT From module . . . . . . . . : HTTPUTILR4 From procedure . . . . . . : UTIL_DIAG Statement . . . . . . . ...
by Paul C
Fri Dec 30, 2022 5:18 pm
Forum: HTTPAPI
Topic: Data Structure question in receiving json message using YAJLINTO
Replies: 1
Views: 2739

Data Structure question in receiving json message using YAJLINTO

Hi: I am trying to construct the data structure, output, to receive the json format you see below at the bottom using DATA-INTO output %DATA(REPLY) %PARSER('YAJLINTO'); and it is not working. what am I doing wrong here with the data structure? Thanks Paul //Output Response Structure dcl-ds output QU...
by Paul C
Tue Dec 20, 2022 8:15 pm
Forum: HTTPAPI
Topic: HTTP/1.1 415 Unsupported Media Type
Replies: 8
Views: 6310

Re: HTTP/1.1 415 Unsupported Media Type

yes, it is written in RPG. It is the question you mentioned with JAVA error and server error? would this be an error on our AS400 or the other server that we are trying to connect to?
by Paul C
Tue Dec 20, 2022 6:54 pm
Forum: HTTPAPI
Topic: HTTP/1.1 415 Unsupported Media Type
Replies: 8
Views: 6310

Re: HTTP/1.1 415 Unsupported Media Type

do you mean our AS400 might not have the latest JAVA version? thanks
by Paul C
Tue Dec 20, 2022 6:38 pm
Forum: HTTPAPI
Topic: HTTP/1.1 415 Unsupported Media Type
Replies: 8
Views: 6310

Re: HTTP/1.1 415 Unsupported Media Type

Thanks for the info. I think I see where the problem may be. so, I corrected where I have "application/json/" to "application/json" (without the "/" at the end. and now I am getting this error. What does this mean? SetError() #13: HTTP/1.1 400 Bad Request recvresp(): en...
by Paul C
Thu Dec 08, 2022 1:41 am
Forum: HTTPAPI
Topic: HTTP/1.1 415 Unsupported Media Type
Replies: 8
Views: 6310

HTTP/1.1 415 Unsupported Media Type

what does this mean in my Diagnostic log?
HTTP/1.1 415 Unsupported Media Type

Thanks
Paul
by Paul C
Tue Nov 29, 2022 9:29 pm
Forum: HTTPAPI
Topic: Server using a single key authentication
Replies: 9
Views: 6881

Re: Server using a single key authentication

In the Postman tool after we can confirm the header requirement and from where we get the authenticationTicket, do we put that ticket value in the password of http_setAuth? http_setAuth(HTTP_AUTH_BEARER : ' ' <-- can be left blank : '%3c%3fxml+version%3d%221.0%22+encoding%3d%22utf-16'); <-- authenti...
by Paul C
Tue Nov 29, 2022 6:36 pm
Forum: HTTPAPI
Topic: Server using a single key authentication
Replies: 9
Views: 6881

Re: Server using a single key authentication

I will need to schedule a meeting with the guy who said I need to you postman to get a more understand of the requirement. I have downloaded postman. Now I just need to get educated on how it is used. I believe it is to help set up an authentication ticket to the server that I am trying to connect t...
by Paul C
Tue Nov 29, 2022 5:08 pm
Forum: HTTPAPI
Topic: Server using a single key authentication
Replies: 9
Views: 6881

Re: Server using a single key authentication

They say to use POSTMAN to see how to get connectivity setup but as far as how it can be used in my RPGLE with HTTPAPI, they wouldn't know. I tried using http_auth_bearer and http_auth_usrdfn and it is still not working. here is a snip it of the coding: http_setAuth(HTTP_AUTH_USRDFN : ' ' : '%3c%3fx...