IIS 7 and Above
C++ native module, Request payload getting empty once used ReadEntity...
Last post Oct 19, 2020 05:32 AM by Jalpa Panchal
Oct 16, 2020 06:31 AM|mukeshdutt|LINK
We are using C++ native module to log the request payload and user identity. However, we are able to read the request payload using ReadEntityBody, but after that request payload is no longer available for further processing or getting blank.
My question is, how we can retain the payload for further processing?
Oct 19, 2020 05:32 AM|Jalpa Panchal|LINK
Could you please share the sample code? make sure you did not set pHttpResponse->Clear(); in your code.how you are storing and passing the data? to store the data which is read using ReadEntityBody and use InsertEntityBody to re-insert the request body.
Refer the below link former detail: