Search found 8 matches

by davidlynch
Thu Apr 11, 2024 9:54 pm
Forum: HTTPAPI
Topic: HTTP 400 Bad Request
Replies: 2
Views: 273

Re: HTTP 400 Bad Request

Thanks for your help Scott, that worked.
by davidlynch
Thu Apr 11, 2024 5:42 am
Forum: HTTPAPI
Topic: HTTP 400 Bad Request
Replies: 2
Views: 273

HTTP 400 Bad Request

Good Afternoon. I'm trying to call an API that uses a query parameter that must be enclosed in single quotes - something I've never needed to do previously... URL = https://www4.wastedge.com/api/rest/customer/customer?query=update_timestamp>='2024-04-10T00:00:00'; rc = http_req('GET' : URL : *omit :...
by davidlynch
Tue Feb 20, 2024 3:38 am
Forum: HTTPAPI
Topic: REST API connection issue
Replies: 6
Views: 1126

Re: REST API connection issue

Just further to this - as i can't find enough information elsewhere. The certificate provider (Sectigo) discusses ciphers on their website and as an example refers to cipher TLS_AES_256_GCM_SHA384. On our IBMi server the default ciphers in TLSCONFIG include AES_256_GCM_SHA384. Is there any differenc...
by davidlynch
Tue Feb 20, 2024 12:19 am
Forum: HTTPAPI
Topic: REST API connection issue
Replies: 6
Views: 1126

Re: REST API connection issue

Thanks again for your help Scott. From further investigation I'm wondering whether it might be an issue with TLS 1.3. I've looked at the certificate provider (Sectigo) and their website mentions this "TLS 1.3 eliminated support of several insecure algorithms, most notably RSA" and their ce...
by davidlynch
Mon Feb 19, 2024 10:32 pm
Forum: HTTPAPI
Topic: REST API connection issue
Replies: 6
Views: 1126

Re: REST API connection issue

Thanks for your response. We're at 7.4 with latest cume and group PTFs applied in August 23. Is there anything I can try prior to installing further PTFs? Our hardware is managed by our corporate business and its a long formal process to get them to do this across our multiple servers. If it helps, ...
by davidlynch
Mon Feb 19, 2024 3:30 am
Forum: HTTPAPI
Topic: REST API connection issue
Replies: 6
Views: 1126

REST API connection issue

Good afternoon. I'm attempting to call an API (using http_url_post) for a new trading partner but can't seem to get past this connection issue. I already use HTTPAPI for many other API connections successfully so the issue seems to be related to this specific host. In the http_debug log I would norm...
by davidlynch
Wed Apr 19, 2023 6:32 am
Forum: Other ScottKlement.com Tools
Topic: HMAC invalid key length
Replies: 3
Views: 7618

Re: HMAC invalid key length

Hi Scott, Thanks for the reply and apologies for my delayed response. That's a good question (what algorithm our trading partner is using) but I've tried to reproduce their results using online SHA-256 generators and also my web coder has tried using his hash algorithm and both provide a successful ...
by davidlynch
Thu Apr 06, 2023 2:00 am
Forum: Other ScottKlement.com Tools
Topic: HMAC invalid key length
Replies: 3
Views: 7618

HMAC invalid key length

Good Morning. I have a program that uses Qc3CalculateHMAC then Scott's base64_encode function to create authentication codes for calling third party APIs. This is based on Scott's example program (https://www.ibm.com/support/pages/qc3calculatehmac-api-example) and all works nicely, thank you. My pro...