Search found 12 matches
- Mon Jun 24, 2024 10:39 pm
- Forum: HTTPAPI
- Topic: DATA-INTO with YAJLINTO
- Replies: 11
- Views: 43944
Re: DATA-INTO with YAJLINTO
Re PTF update. Gotcha. Thanks,
- Mon Jun 24, 2024 10:39 pm
- Forum: HTTPAPI
- Topic: DATA-INTO with YAJLINTO
- Replies: 11
- Views: 43944
Re: DATA-INTO with YAJLINTO
Also, this short test program only has what it needs to execute the same code:
This generates exactly the same results with the JSON test data laid out on my previous post.
Code/
H DFTACTGRP(*NO) ACTGRP(*NEW) BNDDIR('YAJL')
/include yajl_h
D TST_XXXXXX PR ExtPgm('TST_XXXXXX')
D Msg 256A ...
This generates exactly the same results with the JSON test data laid out on my previous post.
Code/
H DFTACTGRP(*NO) ACTGRP(*NEW) BNDDIR('YAJL')
/include yajl_h
D TST_XXXXXX PR ExtPgm('TST_XXXXXX')
D Msg 256A ...
- Mon Jun 24, 2024 10:15 pm
- Forum: HTTPAPI
- Topic: DATA-INTO with YAJLINTO
- Replies: 11
- Views: 43944
Re: DATA-INTO with YAJLINTO
Apologies for the long delay, I was out...
So I have cut down my program to run the appropriate parts to get what we're looking at here...
The JSON file is being imported from another separate call to an API and it contains more data than just the riskScore and trackingId, however I when I cut ...
So I have cut down my program to run the appropriate parts to get what we're looking at here...
The JSON file is being imported from another separate call to an API and it contains more data than just the riskScore and trackingId, however I when I cut ...
- Mon May 13, 2024 6:58 pm
- Forum: HTTPAPI
- Topic: DATA-INTO with YAJLINTO
- Replies: 11
- Views: 43944
Re: DATA-INTO with YAJLINTO
Yes I copied your code into the program and executed that.
However, the plot thickens.. this is running on our dev iSeries, which is at V7R3M0.
I copied all the code and source to our production iSeries, which is also at V7R3M0. recompiled the code there and ran it, and the trackingId populates ...
However, the plot thickens.. this is running on our dev iSeries, which is at V7R3M0.
I copied all the code and source to our production iSeries, which is also at V7R3M0. recompiled the code there and ran it, and the trackingId populates ...
- Mon May 13, 2024 6:31 pm
- Forum: HTTPAPI
- Topic: DATA-INTO with YAJLINTO
- Replies: 11
- Views: 43944
Re: DATA-INTO with YAJLINTO
Very odd, I downloaded the latest YAJL from Scott's repo, loaded the YAJL library using the yajllib72 version (we're on V7R3M0).
I set the relevant parts of the program to use the test data that you identified. Recompiled the rpg with the new yajl library top of my libl...
trackingId is still not ...
I set the relevant parts of the program to use the test data that you identified. Recompiled the rpg with the new yajl library top of my libl...
trackingId is still not ...
- Mon May 13, 2024 5:33 pm
- Forum: HTTPAPI
- Topic: DATA-INTO with YAJLINTO
- Replies: 11
- Views: 43944
DATA-INTO with YAJLINTO
I'm receiving JSON on a webservice call, that is written to a temporary file in the IFS. That file is then fed into an RPG data structure using DATA-INTO with YAJLINTO.
I believe the incoming data is causing a problem for the parser were it has an empty array named "pastFireOverview" (see below ...
I believe the incoming data is causing a problem for the parser were it has an empty array named "pastFireOverview" (see below ...
- Mon May 06, 2024 10:44 pm
- Forum: HTTPAPI
- Topic: http redirect 302
- Replies: 6
- Views: 15597
Re: http redirect 302
Scott, just reporting back that the call ran successfully following updates after your change. Thanks so much!
- Mon May 06, 2024 9:05 pm
- Forum: HTTPAPI
- Topic: http redirect 302
- Replies: 6
- Views: 15597
Re: http redirect 302
Ah ha yes I was just responding that I had discovered the same.. Thank you !!
- Mon May 06, 2024 8:09 pm
- Forum: HTTPAPI
- Topic: http redirect 302
- Replies: 6
- Views: 15597
Re: http redirect 302
No I haven't disclosed it (the 403). If I run a 'get' in SOAPUI to the same origin address, the redirect is tripped automatically. I get the file I'm supposed to get without adding any additional auth (that I don't have) or taking any additional action. Why would that be working vs the call I'm ...
- Mon May 06, 2024 7:37 pm
- Forum: HTTPAPI
- Topic: http redirect 302
- Replies: 6
- Views: 15597
http redirect 302
Hello, I'm executing http_url_get to the us treasury to obtain their SDN list at the following address:
https://sanctionslistservice.ofac.treas.gov/api/PublicationPreview/exports/SDN.FF
Last week they changed their internal process to use a redirect to an Amazon server. As a result of their ...
https://sanctionslistservice.ofac.treas.gov/api/PublicationPreview/exports/SDN.FF
Last week they changed their internal process to use a redirect to an Amazon server. As a result of their ...