Search found 363 matches
- Sun Mar 26, 2023 2:54 am
- Forum: HTTPAPI
- Topic: Response greater than 65535 bytes
- Replies: 1
- Views: 58
Re: Response greater than 65535 bytes
http_string does not have a limit of 65535. Please explain better.
- Mon Mar 13, 2023 4:23 pm
- Forum: HTTPAPI
- Topic: Consuming a REST Web Service
- Replies: 6
- Views: 168
Re: Consuming a REST Web Service
Hello, In your documentation you show this as the last step: var authKey = base64Encode(apikey + ':' + apihash); That is exactly what http_setauth does -- it combines the two parts (I call them userid/password rather than apikey and apihash, but they are the same). However, the code that comes befor...
- Mon Mar 13, 2023 4:07 pm
- Forum: HTTPAPI
- Topic: HTTPAPI header authentication
- Replies: 1
- Views: 70
Re: HTTPAPI header authentication
It appears that the userid/token is to be passed in the Soap header -- so should be part of the XML document you create -- it is NOT sent with BASIC authentication in this case.
- Mon Mar 13, 2023 4:06 pm
- Forum: HTTPAPI
- Topic: HTTP Authentication help
- Replies: 7
- Views: 648
Re: HTTP Authentication help
You appear to be putting part of (but not all of) a JSON document into your userid, which doesn't make sense to me. You'll need to read the documenttion for this API to determine how the userid/password is meant to be transmitted. Is it using basic authentication? If so, you don't use a JSON documen...
- Thu Mar 09, 2023 5:44 am
- Forum: YAJL-ILE
- Topic: DATA-INTO when entire JSON Document is an array
- Replies: 5
- Views: 121
Re: DATA-INTO when entire JSON Document is an array
If you want to include "rel", you can... you just have to put "dcl-subf" in there so it knows it's not the opcode.
Code: Select all
dcl-ds results dim(99) qualified;
dcl-subf rel char(20);
href varchar(200);
end-ds;
- Thu Mar 09, 2023 5:42 am
- Forum: HTTPAPI
- Topic: Consuming a REST Web Service
- Replies: 6
- Views: 168
Re: Consuming a REST Web Service
HTTPAPI can create it for you. Just do this before making the request: http_setAuth(HTTP_AUTH_BASIC: 'userid here': 'password here'); HTTPAPI will calculate the value and send it as an authorization basic header -- according to the rules for basic. (FWIW, the string it uses isn't actually hashed -- ...
- Thu Mar 09, 2023 5:37 am
- Forum: HTTPAPI
- Topic: Send SOAP with filename in request
- Replies: 2
- Views: 89
Re: Send SOAP with filename in request
I don't understand. This is just a string of text, you can put anything you want in it -- HTTPAPI doesn't care what you put there. What problem are you having?
- Thu Mar 02, 2023 11:31 pm
- Forum: YAJL-ILE
- Topic: YAJL error following V7R4 upgrade
- Replies: 3
- Views: 635
Re: YAJL error following V7R4 upgrade
You can go here to see if anything new has been done since you downloaded it:
https://www.scottklement.com/yajl/
https://www.scottklement.com/yajl/
- Tue Feb 28, 2023 9:51 pm
- Forum: HTTPAPI
- Topic: Wrong response with HTTPAPI
- Replies: 6
- Views: 232
Re: Wrong response with HTTPAPI
I don't understand what you are saying. First you say it's not a JSON document -- then you show me a JSON document.... Then you ask me how you can make it not be a JSON document. to be absolutely clear: HTTPAPI merely downloads, byte-for-byte what the HTTP server sends. It does not change the format...
- Tue Feb 28, 2023 9:48 pm
- Forum: Other ScottKlement.com Tools
- Topic: Restriction on Size in base64_decode procedure
- Replies: 1
- Views: 100
Re: Restriction on Size in base64_decode procedure
I'm not aware of any such limitation. Can you provide a code example that illustrates the problem?