Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I access the request data POSTed by the client?

client Data posted request
0
10 Posted

How do I access the request data POSTed by the client?

0
10

Insert your code as an input filter and use the Bucket API to read any request data. A common question is “what field in the request structure points to the POSTed request data?”. However, there is no such field. Because the length of the POSTed data is unbounded, Apache could not store it in a data structure without limiting its length (and hence breaking HTTP standard compliant applications of the protocol) or risking denial-of-service-based on innocent-error-caused exhaustion of address space resources. The best way to get access to POSTed data and “play nicely” in the Apache world is to use an input filter. It will also allow you to access SSL encrypted request data (assuming that your filter accesses the input bucket brigade after the SSL input filter, which it almost certainly will).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123