Search found 655 matches

by Scott Klement
Thu Apr 11, 2024 5:49 am
Forum: HTTPAPI
Topic: HTTP 400 Bad Request
Replies: 2
Views: 264

Re: HTTP 400 Bad Request

What you've posted isn't what you're actually doing because it's not valid RPG syntax. It also isn't valid URL syntax (you can't put the = character in the middle of a field value since it separates the variable name from it's value) My guess is that you're trying to do this?? URL = 'https://www4.wa...
by Scott Klement
Thu Apr 11, 2024 5:36 am
Forum: HTTPAPI
Topic: OUATH2
Replies: 9
Views: 489

Re: OUATH2

Bruce, Okay, that helps me understand. Your code (posted yesterday) has this: "grant_type : client_credentials" For some reason you have a colon between the "grant_type" and it's value "client_credentials". That's why I thought it was a header, because headers use a col...
by Scott Klement
Wed Apr 10, 2024 5:22 am
Forum: YAJL-ILE
Topic: Seeking advice on AXIS transport API
Replies: 3
Views: 392

Re: Seeking advice on AXIS transport API

I have only used the AXISC Transport API twice, both for demo programs that have never been used in production. I have never run into the problem you're having, and I don't have any idea what "ChannelFactory::preloadChannel()" means. It doesn't appear to be an error message, but rather the...
by Scott Klement
Tue Apr 09, 2024 8:50 pm
Forum: HTTPAPI
Topic: OUATH2
Replies: 9
Views: 489

Re: OUATH2

I made some changes but for some reason it still thinks I am using JSON. I am baffled. The log says you are sending application/x-www-form-urlencoded and the error message says nothing about the content-type. why do you say it is still JSON? I completely disagree with that assessment. I think the p...
by Scott Klement
Tue Apr 09, 2024 8:40 pm
Forum: YAJL-ILE
Topic: Request: make parser locale independent
Replies: 9
Views: 665

Re: Request: make parser locale independent

That's a good find!

Please download the current one from https://www.scottklement.com/yajl/ and see if it fixes the problem for you.

Thanks!
by Scott Klement
Sat Apr 06, 2024 8:05 pm
Forum: HTTPAPI
Topic: Changing the log file
Replies: 2
Views: 306

Re: Changing the log file

What do you mean by log files? Do you mean the http_debug log from HTTPAPI? You should be able to call http_debug(*ON: filename); Then when you want to change the name, call http_debug(*off) and http_debug(*on: newfilename); But you also mention cycling a server, and HTTPAPI doesn't have servers... ...
by Scott Klement
Thu Apr 04, 2024 3:58 am
Forum: HTTPAPI
Topic: (GSKit) Access to the key database is not allowed (ssl_error 6003)
Replies: 3
Views: 320

Re: (GSKit) Access to the key database is not allowed (ssl_error 6003)

Here's the specific situation, and perhaps based on that you can give me your opinion on best solution: (My take on what little I know and am learning about the certificate store is that access to it is all or nothing, meaning you cannot limit an authorized user to a specific portion or key in the ...
by Scott Klement
Wed Apr 03, 2024 12:03 am
Forum: HTTPAPI
Topic: (GSKit) Access to the key database is not allowed (ssl_error 6003)
Replies: 3
Views: 320

Re: (GSKit) Access to the key database is not allowed (ssl_error 6003)

Is this being overly secure? That depends on what you're storing in the certificate store and why your company feels the need to keep it secured. My experience is that people who take the attitude of keeping it secured usually can't answer that question. They just keep it secured because "IBM ...
by Scott Klement
Mon Apr 01, 2024 6:05 pm
Forum: HSSFR4
Topic: HSSF how can format cell with currency "$"
Replies: 15
Views: 875

Re: HSSF how can format cell with currency "$"

Again, if you want help, post an example that I can load and run on my system. Don't waste my time with another example that I can load and run. The example you posted relies on external files and programs that are unique to your system and cannot be loaded and run on mine. Provide a simple example ...
by Scott Klement
Thu Mar 28, 2024 5:13 pm
Forum: Other ScottKlement.com Tools
Topic: SNDPIPE
Replies: 1
Views: 335

Re: SNDPIPE

You are attempting to run "PATH=$PATH:/QOpenSys/pkgs/bin" as if it is a program, and then send it a string that says "curl -help". Seems to me that this is correct behavior, you should receive nothing, since setting the PATH variable is not a program, and therefore sending data t...