Response greater than 65535 bytes

Discussions related to HTTPAPI (An HTTP Client Package for RPG programming.) http://www.scottklement.com/httpapi/
Post Reply
g.scantee
Posts: 4
Joined: Fri Jun 10, 2022 8:22 am

Response greater than 65535 bytes

Post by g.scantee »

Hi everyone,
I need to make an API call which returns a response greater than 65535 bytes, and I need it in full.
When i use :

Code: Select all

response = http_string('GET': url: request: 'application/json');
I riceived a response maximum 65535 bytes and therefore it is trimmed.
How can i solve this?
Thanks in advance
Scott Klement
Site Admin
Posts: 635
Joined: Sun Jul 04, 2021 5:12 am

Re: Response greater than 65535 bytes

Post by Scott Klement »

http_string does not have a limit of 65535. Please explain better.
Post Reply