Getting a partial response returned from http_req( 'GET'

Discussions related to HTTPAPI (An HTTP Client Package for RPG programming.) http://www.scottklement.com/httpapi/
Post Reply
panders400
Posts: 7
Joined: Thu Jul 20, 2023 8:11 pm

Getting a partial response returned from http_req( 'GET'

Post by panders400 »

I am doing a get to return a long response string. I am getting back only 3041 characters of the JSON. When I run this URL in Postman, the whole JSON is returned. My response string is plenty long - 2,000,000 VARCHAR. in the HTTP_Req procedure, the resultstr is only the 3041 characters, LEN=3041.

the Get is URL driven, so there is no request: https://xxnamexxxxx-uat-api.cbxcloud.co ... 308-000075

Code: Select all

             rc = http_xproc(HTTP_POINT_ADDL_HEADER:
                   %paddr(add_Auth_Headers));

             rc = http_req( 'GET'
                          : URL
                          : *omit
                          : response
                          : *omit
                          : request
                          : 'application/json');   
The resultsize in HTTP_req is 2000000
The RcvStrBuf.Len is 3041. But the JSON returned in Postman is larger.

Any idea how this can occur? I have also verified that the sender is successfully returning 6122 characters:
2023-08-24 00:31:01,893 INFO c.c.c.c.CustomizeEmbeddedTomcatContainer - GET /api/purchase_orders/VPO2308-000075 status=200, time_taken=64, bytes=6122, query_string=, request_uuid=90b9ede4-33e2-4128-a76e-8851298f0065, remote_ip_address=192.168.52.10

Debug listing:

Code: Select all

recvresp(): entered
HTTP/1.1 200 
Date: Thu, 24 Aug 2023 18:41:36 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: close
Server: nginx
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-REQUEST-UUID: 304df86e-b970-4be2-a91a-800471b7216d
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Security-Policy: default-src 'none'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; img-src 'self' data: https: blob:; style-src 'self' 'unsafe-inline' sha256-base64 encoded hash; font-src 'self' fonts.gstatic.com data:; frame-ancestors 'self'; base-uri 'self'; connect-src 'self' blob:; worker-src 'self' blob:; frame-src 'self' https://app.powerbi.com;
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
X-Upstream: 192.168.52.17:8098
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Cache-Control: no-cache, no-store
SetError() #13: HTTP/1.1 200
recvresp(): end with 200
recvdoc parms: chunked 0
header_load_cookies() entered
recvchunk(): entered
get_chunk_size(): entered
be1

chunk size = 3041
get_chunk_size returned 3041
calling comm_blockread
{"id":"4028b4918a1043fb018a1ec21e500c11","refNo":"VPO2308-000075","revision":1,"entityVersion":1,"domainId":"PARTYCITY","hubDomainId":"PARTYCITY","isForReference":false,"version":1,"status":"releasedToVendor","docStatus":"active","editingStatus":"confirmed","createUser":"bpcs_integration@partycity@PARTYCITY","createUserName":"BPCS UAT Integration","updateUser":"bpcs_integration@partycity@PARTYCITY","updateUserName":"BPCS UAT Integration","amIOwner":true,"createdOn":"2023-08-22T19:39:12.818Z","updatedOn":"2023-08-22T19:39:12.818Z","productCategoryValue":"All","isLatest":true,"vpoItemIsLatest":true,"isDocLock":false,"vpoNo":"362500","vpoDate":"2023-06-08","custPoNo":"362500","custContact":"9143452020","isCpmInitialized":false,"totalAmt":1728.00000,"businessRefNo":"VPO2308-000075","currency":{"code":"USD","name":"USD","version":1},"custId":{"id":"4028b49189df322e0189df779bd5001d","refNo":"C000002","version":1,"businessName":"Amscan","custCode":"C000002","address1":"1 CELEBRATION SQUARE","postalCode":"07677","city":"WOODCLIFF LAKE","state":"NJ","telNo":"(845)469-911","email":"admin@amscan.com","country":{"code":"US","name":"United States of America","version":2},"custAddressList":[{"isDefault":true,"addressTypeIdList":[],"address1":"1 CELEBRATION SQUARE","city":"WOODCLIFF LAKE","state":"NJ","postalCode":"07677","companyName":"AMSCAN INC.","country":{"code":"US","name":"United States of America","version":2},"customFields":{}},{"isDefault":false,"addressTypeIdList":[{"version":1,"customFields":{}}],"address1":"47 Elizabeth Drive","address2":"Chester Industrial Park","city":"Chester","state":"NY","postalCode":"10918","companyName":"Amscan Everyday Warehouse","country":{"code":"US","name":"United States of America","version":2},"customFields":{}},{"isDefault":false,"addressTypeIdList":[{"version":1,"customFields":{}}],"address1":"16# Hinterland Area of Yantian Port","address2":"Shenzhen PR","postalCode":"518083","companyName":"Allport Cargo Services - Shenzhen","country":{"code":"CN","name":"China","version":2},"customFields":{}},{"isDefault":false,"addressTypeIdList":[{"version":1,"customFields":{}}],"address1":"NO55 Yongdinghe Rd Xiapu Int’l Logistics Park","address2":"Beilun","city":"NINGBO","postalCode":"315800","companyName":"Allport Cargo Services - NINGBO","country":{"code":"CN","name":"China","version":2},"customFields":{}}]},"vendorId":{"id":"161ba6f0275d4b53b2e44f9d7081271e","version":3,"refNo":"VM13617","businessName":"GB SPORTS","vendorCode":"13617","address1":"C-11-12, UDYOG PURAM DELHI ROAD","postalCode":"250103","contactName":"BRIJESH KATULA","city":"MEERUT","state":"UTTAR PRADESH","telNo":"91-999-7779944","country":{"code":"IN","name":"India","version":2},"reference":"2535","customFields":{},"productCategoryList":[{"version":1,"customFields":{}}]},"subContractorList":[],"termsConditionList":[],"productCategoryList":[{"code":"PC001","name":"All","version":2,"customFields":{}}],"vpoItemList":[{"itemNo":"349000.05","itemName":"POM POM MIX - ORANGE","itemColorsList":[],"itemSizes
comm_blockread returned 3041
Scott Klement
Site Admin
Posts: 658
Joined: Sun Jul 04, 2021 5:12 am

Re: Getting a partial response returned from http_req( 'GET'

Post by Scott Klement »

Is this the entire log? It can't be... seems like a lot of stuff has been removed.

The data is coming back using "chunked" transfer coding, which means that it is streamed to you in chunks. Your log shows the first chunk being sent -- but neither shows any subsequent chunks, nor shows the data that indicates that there are no more chunks coming.

It seems that you simply cut the log off?

If this really is the entire log, that something is very, very wrong.
panders400
Posts: 7
Joined: Thu Jul 20, 2023 8:11 pm

Re: Getting a partial response returned from http_req( 'GET'

Post by panders400 »

It appears to not attempt to get a second chunk.

I believe the significant part of the log is at the end:
comm_blockread returned 3041

get_chunk_size(): entered
SetError() #44: CommTCP_read: Socket has been shut down.
get_chunk_size returned -1
http_close(): entered


This is the full debuglog

Code: Select all

HTTPAPI Ver 1.42 released 2020-10-12
NTLM Ver 1.4.0 released 2014-12-22
OS/400 Ver V7R4M0

http_persist_open(): entered
http_long_ParseURL(): entered
DNS resolver retrans: 2
DNS resolver retry  : 2
DNS resolver options: x'00000136'
DNS default domain: AMSCAN.CORP
DNS server found: 10.122.201.145
DNS server found: 10.13.106.77
DNS server found: 10.122.201.146
Nagle's algorithm (TCP_NODELAY) disabled.
SNI hostname set to: partycity-uat-api.cbxcloud.com
-------------------------------------------------------------------------------------
Dump of server-side certificate information:
-------------------------------------------------------------------------------------
Cert Validation Code = 6000
-----BEGIN CERTIFICATE-----
MIIG2zCCBcOgAwIBAgIQLcsObmmeAVzUtd7OjEyWnDANBgkqhkiG9w0BAQsFADCB
lTELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G
A1UEBxMHU2FsZm9yZDEYMBYGA1UEChMPU2VjdGlnbyBMaW1pdGVkMT0wOwYDVQQD
EzRTZWN0aWdvIFJTQSBPcmdhbml6YXRpb24gVmFsaWRhdGlvbiBTZWN1cmUgU2Vy
dmVyIENBMB4XDTIyMTIwODAwMDAwMFoXDTI0MDEwODIzNTk1OVowWTELMAkGA1UE
BhMCSEsxEjAQBgNVBAgTCUhvbmcgS29uZzEdMBsGA1UEChMUQ0JYIFNvZnR3YXJl
IExpbWl0ZWQxFzAVBgNVBAMMDiouY2J4Y2xvdWQuY29tMIIBIjANBgkqhkiG9w0B
AQEFAAOCAQ8AMIIBCgKCAQEA6Fcx081odlkR/FqIEarjkGKPMqqpTmGu4W3EszIC
utfOSywIU0HNKlpo+Rr5iWmZbXT40aMnvAB7IeCMkEfUGeJ2cFkWZIqiI+KtCjnC
o2wyxuKO9CAriqOfjDWYHj3oxEux9rkeBTTk8CWxCwl1K2QxuMFT9XcoG4P2xBv2
2LhgjXdJvidLBn1MZ7D0yYjziujAiGBoPjzcKh/74fb+nUTAXaZVvuCajOyNBKRJ
rltxiThJm56TUL+1RZ0CQJkZtHnbgb0LWRZqEXURVDK17qT9hSywcK9oCJGRG74U
e5HpHMHpN0PPmmmpu1Emd6YKF1fLh+71o1J8pDIDIO2JbwIDAQABo4IDYDCCA1ww
HwYDVR0jBBgwFoAUF9nWJSdn+THCSUPZMDZEjGypT+swHQYDVR0OBBYEFEF8aSa4
9i4NUWW/xkRifJbYPWRYMA4GA1UdDwEB/wQEAwIFoDAMBgNVHRMBAf8EAjAAMB0G
A1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjBKBgNVHSAEQzBBMDUGDCsGAQQB
sjEBAgEDBDAlMCMGCCsGAQUFBwIBFhdodHRwczovL3NlY3RpZ28uY29tL0NQUzAI
BgZngQwBAgIwWgYDVR0fBFMwUTBPoE2gS4ZJaHR0cDovL2NybC5zZWN0aWdvLmNv
bS9TZWN0aWdvUlNBT3JnYW5pemF0aW9uVmFsaWRhdGlvblNlY3VyZVNlcnZlckNB
LmNybDCBigYIKwYBBQUHAQEEfjB8MFUGCCsGAQUFBzAChklodHRwOi8vY3J0LnNl
Y3RpZ28uY29tL1NlY3RpZ29SU0FPcmdhbml6YXRpb25WYWxpZGF0aW9uU2VjdXJl
U2VydmVyQ0EuY3J0MCMGCCsGAQUFBzABhhdodHRwOi8vb2NzcC5zZWN0aWdvLmNv
bTAnBgNVHREEIDAegg4qLmNieGNsb3VkLmNvbYIMY2J4Y2xvdWQuY29tMIIBfQYK
KwYBBAHWeQIEAgSCAW0EggFpAWcAdwB2/4g/Crb7lVHCYcz1h7o0tKTNuyncaEIK
n+ZnTFo6dAAAAYTvaTP5AAAEAwBIMEYCIQCnzyrgPXyicipQoqRUITthT7FkEDHU
NiRGcL15bRo2GwIhAJqF0jTxD3rvLmflH7fJntUSotfAy3OMa16sZrVT+vaJAHUA
O1N3dT4tuYBOizBbBv5AO2fYT8P0x70ADS1yb+H61BcAAAGE72kznQAABAMARjBE
AiB3yeZWYNWRMZ/e7FHb9fKYBRzCxKqKHBBXGw4fJrqbLQIgC/bhrlnc1PrLNvr0
qxWc01GJDWjwjXetgHGCmwqVgY8AdQDuzdBk1dsazsVct520zROiModGfLzs3sNR
SFlGcR+1mwAAAYTvaTOgAAAEAwBGMEQCIGdAFGI3963liDdYsXJ9m9d5g+UL2evV
M34td3bmQrWMAiAn2n/D+bCAQVKk3Kl337JzUluEpD8uqbcW7bqjVoHR9zANBgkq
hkiG9w0BAQsFAAOCAQEALlJYs1NV1GysIx9nE7r4Js/bAapxt5mMllCcxS23JD0R
l3lkkRp/Fr7fTTVjyuB5eCncdevS+q4qIFim+aOiroyggWGWc9NaUoeP56+pNBDI
XCMugNtIv+xE0n0B8urv0DQ+PL3kAJL7Dq4yIGp/9v2ujMEOUz8w8bbMul7pFn/L
GxOyFIazykz66XS47OTqKthIVhZBrq6T/ZmN9/pWMpkS4HWaTsu5RfUNB1qgEnMP
etV2wyULktQprO4EX53LT/nDukXmMR/q/YxjRA3kbXGC1GGCJTYaOuqljYBqP2pq
DVMcRzv7CytBMe81FzRiQh/JMe+U2CcauCn5jlVdAg==
-----END CERTIFICATE-----
Serial Number: 2D:CB:0E:6E:69:9E:01:5C:D4:B5:DE:CE:8C:4C:96:9C
Common Name: *.cbxcloud.com
Country: HK
State/Province: Hong Kong
Org Unit: CBX Software Limited
Issuer CN: Sectigo RSA Organization Validation Secure Server CA
Issuer Country: GB
Issuer State/Province: Greater Manchester
Issuer Locality: Salford
Issuer Org: Sectigo Limited
Version: 3
not before: 20221207190000
Unknown Field: 19:00:00 07-12-2022
not after: 20240108185959
Unknown Field: 18:59:59 08-01-2024
pub key alg: 1.2.840.113549.1.1.1
signature algorithm: 1.2.840.113549.1.1.11
Unknown Field: 0382010F003082010A0282010100E85731D3CD68765911FC5A8811AAE390628F32AAA94E61AEE16DC4B33202BAD7CE4B2C085341CD2A5A68F91AF98969996D74F8D1A327BC007B21E08C9047D419E276705916648AA223E2AD0A39C2A36C32C6E28EF4202B8AA39F8C35981E3DE8C44BB1F6B91E0534E4F025B10B09752B6431B8C153F577281B83F6C41BF6D8B8608D7749BE274B067D4C67B0F4C988F38AE8C08860683E3CDC2A1FFBE1F6FE9D44C05DA655BEE09A8CEC8D04A449AE5B718938499B9E9350BFB5459D02409919B479DB81BD0B59166A1175115432B5EEA4FD852CB070AF680891911BBE147B91E91CC1E93743CF9A69A9BB512677A60A1757CB87EEF5A3527CA4320320ED896F0203010001
Unknown Field: 2048
Unknown Field: 24C5D08168920ECF8B3E21D4C55A650B
Unknown Field: 1.2.840.113549.2.5
Unknown Field: 1A72673CC8B89C17A6DADEA6DF4051D993F5A174
Unknown Field: 3AE8C54C8B14EA1D7E84AA6E667B8EB350F55E492E636B05AF78E5E62610EF67
Unknown Field: 5
Unknown Field: *.cbxcloud.com
Unknown Field: 0
Unknown Field: 1.3.6.1.5.5.7.3.2
Unknown Field: 1.3.6.1.5.5.7.3.1
Unknown Field: 2.23.140.1.2.2
Unknown Field: 1.3.6.1.4.1.6449.1.2.1.3.4
Unknown Field: http://ocsp.sectigo.com

SetError() #49: SSL_protocol: Unknown protocol 5000
Protocol Used:
http_persist_req(GET) entered.
http_long_ParseURL(): entered
http_long_ParseURL(): entered
do_oper(GET): entered
There are 0 cookies in the cache
GET /api/purchase_orders/VPO2308-000075 HTTP/1.1
Host: partycity-uat-api.cbxcloud.com
User-Agent: http-api/1.43
Content-Type: application/json
Content-Length: 2000000
Authorization: bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRlVGltZUZvcm1hdENvZGUiOiJNTS9kZC95eXl5IEhIOm1tOnNzIiwiaXNUYnlNaWdyYXRpb24iOmZhbHNlLCJ1c2VyX25hbWUiOiJicGNzX2ludGVncmF0aW9uQHBhcnR5Y2l0eSIsImRhdGVGb3JtYXRDb2RlIjoiTU0vZGQveXl5eSIsImxvY2FsZSI6ImVuX1VTIiwid29ya2luZ19kb21haW4iOiJQQVJUWUNJVFkiLCJleHBpcmVkT24iOjE2OTI5NzcwMDg3MDMsImNsaWVudF9pZCI6ImNieCIsImRvbWFpbl9pZCI6IlBBUlRZQ0lUWSIsImN1cnJlbnRVc2VyQ29tYmluZWRJZCI6ImJwY3NfaW50ZWdyYXRpb25AcGFydHljaXR5QFBBUlRZQ0lUWSIsIm93bmVyRG9tYWluSWQiOiJQQVJUWUNJVFkiLCJyZWZyZXNoVG9rZW5JZCI6IlpVN1pWRkY2ZUxOYm9UYmFUYVc2STFWVDc5TSIsInNjb3BlIjpbInJlYWQiLCJ3cml0ZSIsInRydXN0Il0sIm5ld3VpVGltZVpvbmVDb2RlIjoiQW1lcmljYS9OZXdfWW9yayIsImV4cCI6MTY5Mjk3NzAwOCwianRpIjoiUjRSXzZONDU3b1ZrSDlvc1hXZGI3VEE3TWVJIiwiZW1haWwiOiJzdXBwb3J0QGNic29mdHdhcmUuY29tIiwicmVxdWVzdENsaWVudCI6bnVsbCwiY3VycmVudFVzZXJOYW1lIjoiQlBDUyBVQVQgSW50ZWdyYXRpb24iLCJ0b2tlbklkIjoiUjRSXzZONDU3b1ZrSDlvc1hXZGI3VEE3TWVJIiwid29ya2luZ0ZvclVzZXJJZCI6bnVsbCwidXNlcklkIjoiYTZlNjVlYzA2OTAyNDA1N2I2MTY0ZTU0ZjkyMGQ0YzgiLCJhdXRob3JpdGllcyI6WyJ1c2VyIl0sImlzU2luZ2xlU291cmNpbmdEb21haW4iOnRydWUsInVzZXJMb2dpbklkIjoiYnBjc19pbnRlZ3JhdGlvbkBwYXJ0eWNpdHkifQ.glelxcVZjp2UWJFQgjtJWcp9149PKKRYHJZ68EHA_Mg


senddoc(): entered
recvresp(): entered
HTTP/1.1 200 
Date: Fri, 25 Aug 2023 14:54:16 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: close
Server: nginx
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-REQUEST-UUID: 95c68e6b-a0b0-4ded-8ca6-597e93c5388c
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Security-Policy: default-src 'none'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; img-src 'self' data: https: blob:; style-src 'self' 'unsafe-inline' sha256-base64 encoded hash; font-src 'self' fonts.gstatic.com data:; frame-ancestors 'self'; base-uri 'self'; connect-src 'self' blob:; worker-src 'self' blob:; frame-src 'self' https://app.powerbi.com;
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
X-Upstream: 192.168.52.17:8098
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Cache-Control: no-cache, no-store


SetError() #13: HTTP/1.1 200
recvresp(): end with 200
recvdoc parms: chunked 0
header_load_cookies() entered
recvchunk(): entered
get_chunk_size(): entered
be1

chunk size = 3041
get_chunk_size returned 3041
calling comm_blockread
{"id":"4028b4918a1043fb018a1ec21e500c11","refNo":"VPO2308-000075","revision":1,"entityVersion":1,"domainId":"PARTYCITY","hubDomainId":"PARTYCITY","isForReference":false,"version":1,"status":"releasedToVendor","docStatus":"active","editingStatus":"confirmed","createUser":"bpcs_integration@partycity@PARTYCITY","createUserName":"BPCS UAT Integration","updateUser":"bpcs_integration@partycity@PARTYCITY","updateUserName":"BPCS UAT Integration","amIOwner":true,"createdOn":"2023-08-22T19:39:12.818Z","updatedOn":"2023-08-22T19:39:12.818Z","productCategoryValue":"All","isLatest":true,"vpoItemIsLatest":true,"isDocLock":false,"vpoNo":"362500","vpoDate":"2023-06-08","custPoNo":"362500","custContact":"9143452020","isCpmInitialized":false,"totalAmt":1728.00000,"businessRefNo":"VPO2308-000075","currency":{"code":"USD","name":"USD","version":1},"custId":{"id":"4028b49189df322e0189df779bd5001d","refNo":"C000002","version":1,"businessName":"Amscan","custCode":"C000002","address1":"1 CELEBRATION SQUARE","postalCode":"07677","city":"WOODCLIFF LAKE","state":"NJ","telNo":"(845)469-911","email":"admin@amscan.com","country":{"code":"US","name":"United States of America","version":2},"custAddressList":[{"isDefault":true,"addressTypeIdList":[],"address1":"1 CELEBRATION SQUARE","city":"WOODCLIFF LAKE","state":"NJ","postalCode":"07677","companyName":"AMSCAN INC.","country":{"code":"US","name":"United States of America","version":2},"customFields":{}},{"isDefault":false,"addressTypeIdList":[{"version":1,"customFields":{}}],"address1":"47 Elizabeth Drive","address2":"Chester Industrial Park","city":"Chester","state":"NY","postalCode":"10918","companyName":"Amscan Everyday Warehouse","country":{"code":"US","name":"United States of America","version":2},"customFields":{}},{"isDefault":false,"addressTypeIdList":[{"version":1,"customFields":{}}],"address1":"16# Hinterland Area of Yantian Port","address2":"Shenzhen PR","postalCode":"518083","companyName":"Allport Cargo Services - Shenzhen","country":{"code":"CN","name":"China","version":2},"customFields":{}},{"isDefault":false,"addressTypeIdList":[{"version":1,"customFields":{}}],"address1":"NO55 Yongdinghe Rd Xiapu Int’l Logistics Park","address2":"Beilun","city":"NINGBO","postalCode":"315800","companyName":"Allport Cargo Services - NINGBO","country":{"code":"CN","name":"China","version":2},"customFields":{}}]},"vendorId":{"id":"161ba6f0275d4b53b2e44f9d7081271e","version":3,"refNo":"VM13617","businessName":"GB SPORTS","vendorCode":"13617","address1":"C-11-12, UDYOG PURAM DELHI ROAD","postalCode":"250103","contactName":"BRIJESH KATULA","city":"MEERUT","state":"UTTAR PRADESH","telNo":"91-999-7779944","country":{"code":"IN","name":"India","version":2},"reference":"2535","customFields":{},"productCategoryList":[{"version":1,"customFields":{}}]},"subContractorList":[],"termsConditionList":[],"productCategoryList":[{"code":"PC001","name":"All","version":2,"customFields":{}}],"vpoItemList":[{"itemNo":"349000.05","itemName":"POM POM MIX - ORANGE","itemColorsList":[],"itemSizes
comm_blockread returned 3041


get_chunk_size(): entered
SetError() #44: CommTCP_read: Socket has been shut down.
get_chunk_size returned -1
http_close(): entered
panders400
Posts: 7
Joined: Thu Jul 20, 2023 8:11 pm

Re: Getting a partial response returned from http_req( 'GET'

Post by panders400 »

Additionally, we ran a test using cURL from out iSeries and it returned the the full JSON response. So this is only occurring when http_req is being used. Should I use a different command? Is there a setting that needs to be switched.
Scott Klement
Site Admin
Posts: 658
Joined: Sun Jul 04, 2021 5:12 am

Re: Getting a partial response returned from http_req( 'GET'

Post by Scott Klement »

interesting... haven't run into this specific problem before. I can guess at things that might be help, but they'd only be a hypothesis -- I can't tedt them without the ability to reproduce this problem.

No, there's no setting. (What would that be? The "don't cut off my document in the middle" setting??!)
Post Reply