Search found 685 matches
- Thu May 30, 2024 8:50 pm
- Forum: YAJL-ILE
- Topic: JSON array without a named tag
- Replies: 2
- Views: 23
Re: JSON array without a named tag
both properties and failedValidations should be arrays of character strings, not arrays of data structures.
- Thu May 30, 2024 8:48 pm
- Forum: HTTPAPI
- Topic: How to set "Authorization" in http header
- Replies: 7
- Views: 308
Re: How to set "Authorization" in http header
I think the example provided by the OP violates the HTTP specs -- but assuming that's truly what the server requires, you can do it with a user-defined auth.
Code: Select all
Dcl-S authToken varchar(50) inz('00000000-0000-0000-0000-000000000000');
http_setAuth( HTTP_AUTH_USRDFN: '': authToken);
Re: OUATH2
Also verify that 'atoken' is large enough for the entirety of the token. If it is larger than the 15000 characters allowed by http_setAuth, then consider using the xproc technique.
Re: OUATH2
Changing HTTPAPI's timeout won't prevent the server from timing out, it'll only prevent HTTPAPI from timing out. You are using the old http_url_post_xml() routine, which has a parameter for the timeout.. you can just pass that parameter if you want to change HTTPAPI's timeout.) Also, not sure if it'...
- Wed May 29, 2024 4:36 am
- Forum: YAJL-ILE
- Topic: Parsing error 1002
- Replies: 2
- Views: 49
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: 225
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: 7
- Views: 308
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: 3
- Views: 411
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...