Search found 661 matches
- Wed Apr 19, 2023 12:50 am
- Forum: HTTPAPI
- Topic: Consuming a REST Web Service
- Replies: 10
- Views: 7735
Re: Consuming a REST Web Service
The single one should be sufficient -- it will store in the credentials in memory and re-use them until you clear them (by calling HTTP_setAuth again with HTTP_AUTH_NONE) or until the activation group is reclaimed.
- Tue Apr 18, 2023 9:28 am
- Forum: CSVR4
- Topic: Using CSVGEN
- Replies: 2
- Views: 8577
Re: Using CSVGEN
Start here: https://www.scottklement.com/presentations/#DATAGEN
Click "download the sample code for this session".
Click "download the sample code for this session".
- Tue Apr 18, 2023 8:16 am
- Forum: Other ScottKlement.com Tools
- Topic: SHA-256 "lower case" value
- Replies: 5
- Views: 9201
Re: SHA-256 "lower case" value
The difference seems to be that you are base64 encoding it, whereas the online converters you cite are outputting hex strings instead of base64 encoding. If you translated the base64 letters to lowercase, you'd change their meaning -- so don't do that. But if you output data in hex instead, you can ...
- Thu Apr 13, 2023 9:06 pm
- Forum: YAJL-ILE
- Topic: Problem putting packed fields in a ds from a json in standard in
- Replies: 4
- Views: 7703
Re: Problem putting packed fields in a ds from a json in standard in
The JSON standard does not allow for a number to start with zero, except for the number zero itelf. See here: https://www.json.org/json-en.html If other JSON parsers allow the leading zero, then they are allowing non-standard values. Whether a field is packed or not is not, as far as I can tell, ger...
- Thu Apr 13, 2023 8:56 pm
- Forum: HTTPAPI
- Topic: Version 1.32 compatible with V7R4
- Replies: 1
- Views: 2696
Re: Version 1.32 compatible with V7R4
1.32 is 13 releases of HTTPAPI out-of-date. To my knowledge it will work (as well as expected for an old release with known bugs) on v6r1 or newer, but I doubt very much that anyone has ever tested a release that old on v7r4, so can't say for certain. To my knowledge, it will work the same on v7r4 o...
- Thu Apr 13, 2023 5:26 am
- Forum: Other ScottKlement.com Tools
- Topic: SHA-256 "lower case" value
- Replies: 5
- Views: 9201
Re: SHA-256 "lower case" value
I'm not sure that I follow you. What part is meant to be lowercase only?
What is your question? How to translate something to lowercase?
What is your question? How to translate something to lowercase?
- Thu Apr 13, 2023 3:46 am
- Forum: General
- Topic: Question about java
- Replies: 3
- Views: 8099
Re: Question about java
Also, calling Java from RPG is done using the Java Invocation API, which can disable certain types of optimization -- and therefore can negatively affect performance. The "best" way to do this is to run the Java code in an application server, and code it as a REST API that you can call fro...
- Mon Apr 10, 2023 9:41 pm
- Forum: HTTPAPI
- Topic: HTTPAPI header authentication
- Replies: 3
- Views: 3196
Re: HTTPAPI header authentication
Sorry, I don't understand the question. What sort of authentication are you asking about?
- Mon Apr 10, 2023 9:39 pm
- Forum: YAJL-ILE
- Topic: Using CCSID 1208 - accent characters
- Replies: 3
- Views: 8699
Re: Using CCSID 1208 - accent characters
http_setOption is for setting options in HTTPAPI - it has nothing whatsoever to do with YAJL. You will need to troubleshoot what's happening. Use the WRKLNK command to see what the CCSID on your JSON file is. Use DSPF and F10=Display Hex to see the hex value of the accented character. Look on a tabl...
- Mon Apr 10, 2023 9:31 pm
- Forum: HTTPAPI
- Topic: submitting job to batch using HTTPAPI
- Replies: 2
- Views: 2850
Re: submitting job to batch using HTTPAPI
No, there's nothing special -- it just locates the object in the library list (or hard-coded library if you set it up that way) just like any other disk object. No magic here!