how do I get POST request content?
Hello,
I need to save all info about POST requests to a file, I'm able to get request headers, but have some problem with request content.
In Adapter:
Must(hostx);
libecap:
if (hostx-
{
receivingVb = opOn;
hostx-
}
const libecap::Area lenVal = adapted-
const libecap::Area s = adapted-
if (lenVal)
{
const libecap::Area ip = hostx->
if (hostx-
{
const libecap::Area b = hostx->vbContent(0, libecap::nsize);
dumping to a file
}
}
I expect to have all requests with ContentLength>0 saved into file, however I see that only about 30% are saved.
Sometimes request body is empty.
Any advice is appreciated.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- eCAP Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask zas for more information if necessary.