I answered there as well.

The problem with your existing attempt is that you are attempting to access the 
input stream after it has been opened. The parameters already exist when you're 
wrapping it and you just need to make sure your additional parameters are 
accessible as well. 

- Jason

On Mon, Jun 25, 2018, at 3:55 PM, Cris Rockwell wrote:
> Hello!
> 
> I posted a question to StackOverflow 
> <https://stackoverflow.com/questions/51029340/sling-filter-for-wrapping-a-request-body>
>  
> about some issue I’m facing. I would like to add a POST parameter in a 
> Sling Filter using SlingHttpServletRequestWrapper 
> <https://sling.apache.org/apidocs/sling10/org/apache/sling/api/wrappers/SlingHttpServletRequestWrapper.html>.
>  
> I would appreciate any ideas or suggestions. 
> 
> Thanks!
> Cris Rockwell
> 
> 
> 
> 
> 

Reply via email to