Last post Mar 11, 2017 08:44 AM by loda
Mar 11, 2017 06:39 AM|loda|LINK
Hear the problem:
1. The web post data to my web Api.
2. My Api filter request the inputstream, and validate the signature.
3. If I post the data, which length over 1000, my api filter can not request the stream.
4. If I post without api's filter, just post to the api controller, then the api controller can get the data.
a) Success Post:
api filter get the data:
api controller get data:
api filter get nothing,:
If the apicontroller without filter, the apicontroller can get the model successfully:
With out AccessAuth filer:
Mar 11, 2017 08:44 AM|loda|LINK
The problem has been solved.
Just input this code before ReadToEnd();