I knew I had to do 2 arrays but wasn't sure how to do. Your sample code was what I needed. I was able to process the JSON.
Thanks a lot for your help
Nancy
Search found 7 matches
- Fri Apr 22, 2022 7:37 pm
- Forum: YAJL-ILE
- Topic: reading JSON
- Replies: 6
- Views: 13706
- Fri Apr 22, 2022 6:23 pm
- Forum: YAJL-ILE
- Topic: reading JSON
- Replies: 6
- Views: 13706
Re: reading JSON
Currently, our main IBMi is on V7R1. Another partition is on V7R2 where I had to run the program to get the response. Can DATA_INTO be used on those releases? FYI, there are plans to update them to V7R4 soon. I didn't notice that Quote Number was numeric. I had changed the array to Quotes but it did...
- Thu Apr 21, 2022 6:51 pm
- Forum: YAJL-ILE
- Topic: reading JSON
- Replies: 6
- Views: 13706
reading JSON
I've done simple reads of JSON but this one is more complicated. This is a snippet of the JSON response. I need to read the quotes. There are more quotes than displayed in the snippet. { "AllPickupLocationHaveCoverage": true, "Quote": "1149005634", "TotalNetCharge&...
- Wed Apr 20, 2022 12:49 pm
- Forum: HTTPAPI
- Topic: sending token
- Replies: 3
- Views: 7132
Re: sending token
I forgot to post the error HTTPAPI Ver 1.45 released 2021-09-20 NTLM Ver 1.4.0 released 2014-12-22 OS/400 Ver V7R1M0 New iconv() objects set, PostRem=819. PostLoc=0. ProtRem=819. ProtLoc=0 http_persist_open(): entered http_long_ParseURL(): entered DNS resolver retrans: 2 DNS resolver retry : 2 DNS r...
- Wed Apr 20, 2022 12:47 pm
- Forum: HTTPAPI
- Topic: sending token
- Replies: 3
- Views: 7132
sending token
I'm trying to send a token using HTTP_POINT_ADDL_HEADER but I'm receiving an error. I've updated LIBHTTP to the latest version & recompiled the programs to be on the safe side. I've looked in examples here but still can't it it to work. What am I missing? Any help is much appreciated. Here are s...
- Tue Apr 19, 2022 7:56 pm
- Forum: HTTPAPI
- Topic: HTTPAPI update
- Replies: 2
- Views: 5803
Re: HTTPAPI update
thanks, Scott
- Tue Apr 19, 2022 6:21 pm
- Forum: HTTPAPI
- Topic: HTTPAPI update
- Replies: 2
- Views: 5803
HTTPAPI update
When I update library LIBHTTP to the new version, do I need to recompile the program that use it?