Search found 5 matches
- Wed Jun 21, 2023 5:28 pm
- Forum: HTTPAPI
- Topic: http_req with POST and large string
- Replies: 10
- Views: 24551
Re: http_req with POST and large string
So that makes me believe that your "body" field is not at the expected size. It seems that it contains less data than expected. Please double check that. You may directly check the length bytes of the "body" field after the statement that fills "formData". And you proba...
- Wed Jun 21, 2023 1:09 pm
- Forum: HTTPAPI
- Topic: http_req with POST and large string
- Replies: 10
- Views: 24551
Re: http_req with POST and large string
I would also check the first 4 bytes of field 'body', which contain the length of the field:
eval body:x 4
or
eval body:x 32
if you want to see the first data Bytes, too.
eval body:x 4
or
eval body:x 32
if you want to see the first data Bytes, too.
- Wed Jun 21, 2023 12:58 pm
- Forum: HTTPAPI
- Topic: http_req with POST and large string
- Replies: 10
- Views: 24551
Re: http_req with POST and large string
Did you already check the value of SendLen when calling http_persist_req() from http_req()?
And what about wwUplLen when calling do_oper() from http_persist_req().
If these value are correct, I would go further down the chain.
And what about wwUplLen when calling do_oper() from http_persist_req().
If these value are correct, I would go further down the chain.
- Fri Jan 27, 2023 3:13 pm
- Forum: HTTPAPI
- Topic: NullPointerException using httpapi
- Replies: 4
- Views: 10016
Re: NullPointerException using httpapi
Looks like you sent an empty SOAP action to the server:
SOAPAction: ""
Sending the following SOAP action header should work:
SOAPAction: "http://atoss.com/ses/services/transacti ... /IsPresent"
Thomas.
SOAPAction: ""
Sending the following SOAP action header should work:
SOAPAction: "http://atoss.com/ses/services/transacti ... /IsPresent"
Thomas.
- Mon Jan 10, 2022 4:38 pm
- Forum: HTTPAPI
- Topic: Definition not found for the symbol
- Replies: 2
- Views: 5956
Re: Definition not found for the symbol
Did you specify the binding directory at the CRTSRVPGM command like this:
BNDDIR(LIBHTTP/HTTPAPI)
Thomas.
BNDDIR(LIBHTTP/HTTPAPI)
Thomas.