Search found 7 matches

by juan11de14
Tue Jun 06, 2023 8:28 pm
Forum: General
Topic: Open source
Replies: 5
Views: 9285

Re: Open source

by juan11de14
Fri May 26, 2023 9:54 pm
Forum: HTTPAPI
Topic: Bad Request
Replies: 2
Views: 2183

Re: Bad Request

I am very sorry, I realized that I had a wrong HEADER, I was able to consume correctly.
Thank you,
by juan11de14
Fri May 26, 2023 2:34 pm
Forum: HTTPAPI
Topic: Bad Request
Replies: 2
Views: 2183

Bad Request

Good day, I am trying to consume a service in POST from AS400(RPG) and it generates the following error: I must say that if I use the same json from python AS400 (open source) I have no problem: Thanks for your help. . . . Content-Type: application/json Accept: application/json senddoc(): entered {&...
by juan11de14
Tue May 09, 2023 2:08 pm
Forum: General
Topic: Printing from IBM i with Images
Replies: 3
Views: 8068

Re: Printing from IBM i with Images

The first thing you should do is download an AFP printer driver and print a page with the image of the signature you want, take it to the machine and create an *OVL. https://www.ibm.com/support/pages/creating-afp-resources-using-ibm-afp-printer-drivers You can then merge this *OVL (image) with the p...
by juan11de14
Mon May 08, 2023 8:20 pm
Forum: YAJL-ILE
Topic: Error when using YAJLINTO
Replies: 6
Views: 12000

Re: Error when using YAJLINTO

Thank you very much Scott,
As an exercise, I have taken the same service program from the converttemp service and deployed it to REST (POST), I have already made the change and it works perfect. "DATA-INTO result %DATA(response:'case=convert') %PARSER('YAJLINTO')"
by juan11de14
Mon May 08, 2023 7:58 pm
Forum: YAJL-ILE
Topic: Error when using YAJLINTO
Replies: 6
Views: 12000

Re: Error when using YAJLINTO

Yes, I am correctly receiving the JSON response and it is {"TEMPOUT":"30.67"}'
by juan11de14
Mon May 08, 2023 4:02 pm
Forum: YAJL-ILE
Topic: Error when using YAJLINTO
Replies: 6
Views: 12000

Error when using YAJLINTO

Good morning, I have been studying to use YAJL and I have created a REST(POST) service using the IWS example convertTemp, however I have not been able to retrieve the output JSON for reason code 5. Please help. ******************** **free ctl-opt option(*srcstmt) dftactGrp(*no) bnddir('HTTPAPI'); /c...