Search found 681 matches
- Wed May 29, 2024 4:36 am
- Forum: YAJL-ILE
- Topic: Parsing error 1002
- Replies: 2
- Views: 35
Re: Parsing error 1002
I'm not aware of any such limitations. Is it possible that your JSON data is loaded into a 100000 variable before you call DATA-INTO, and that the 100000 isn't large enough?
- Wed May 29, 2024 4:27 am
- Forum: General
- Topic: Pointer not set for location referenced - MCH3601
- Replies: 4
- Views: 130
Re: Pointer not set for location referenced - MCH3601
how can i reproduce the problem?
- Wed May 29, 2024 4:24 am
- Forum: HTTPAPI
- Topic: How to set "Authorization" in http header
- Replies: 5
- Views: 215
Re: How to set "Authorization" in http header
I could see using an additional header callback to set the 'accept' header. I don't see why you'd use it for the Authorization, though... why wouldn't you just use http_setAuth for that?
- Wed May 29, 2024 4:16 am
- Forum: HTTPAPI
- Topic: http_string is timing out
- Replies: 2
- Views: 336
Re: http_string is timing out
You have written an "additional header" callback. Is it possible that you wrote that incorrectly? This is a common reason for a timeout.
Re: OUATH2
the code you provided (http_setoption) is how you change the timeout.
This doesn't affect HTTP_TIMEOUT, which is just a constant.
Please explain why you are asking this. Are you having a problem? What problem are you having?
This doesn't affect HTTP_TIMEOUT, which is just a constant.
Please explain why you are asking this. Are you having a problem? What problem are you having?
Re: QSQPTABL
You cleared QSQPTABL? As you said, it should only have one row and one column, containing the number 1. It shouldn't ever be updated or changed -- that's always what that table contains. Moti's message makes no sense. QSQPTABL *is* a physical file. And I don't see why you'd ever have a copy of it an...
- Thu May 23, 2024 7:35 pm
- Forum: HTTPAPI
- Topic: HTTPS issue for website
- Replies: 1
- Views: 240
Re: HTTPS issue for website
Just like in the browser, you need to start the URL with 'https://' rather than 'http://' in order for HTTPAPI to connect using TLS.
- Fri May 17, 2024 9:53 pm
- Forum: HTTPAPI
- Topic: Problem compiling code
- Replies: 2
- Views: 1055
Re: Problem compiling code
You appear to be trying to call the BASE64 utility. This is not part of HTTPAPI, it is a separate download and a separate binding directory that you'll need to bind to. If you're still having problems after resolving the above error, please provide the error messages. I have no idea what your post m...
- Fri May 17, 2024 9:39 pm
- Forum: RPG IV
- Topic: QSYS2.HTTP_GET
- Replies: 1
- Views: 429
Re: QSYS2.HTTP_GET
In the Curl example, you are telling it to use X-API-Key as a header with a value of myapikey. In the HTTP_GET example, you are telling it to sign in with a userid and password, and that the userid to use is "X-API-Key: myapikey". That's very different from sending it as a header... Don't ...
- Fri May 17, 2024 9:28 pm
- Forum: RPG IV
- Topic: XML Parsing no longer supported by IBM in 7.5?
- Replies: 2
- Views: 555
Re: XML Parsing no longer supported by IBM in 7.5?
Bear in mind that 7.5 is not new -- it was released over 2 years ago. I'm not sure what your boss is referring to, but it doesn't make any sense to say that "XML isn't supported anymore." There may have been a PARTICULAR XML package that support ended for -- I don't remember, honestly -- b...