Hi,
Trying to work with REST protocol, using IIS 8, both client and server are Cache servers,
I have the following problem-
When I send a PUT command, I get the following error:
Length Required
## Length Required
* * *
HTTP Error 411. The request must be chunked or have a content length.
Get , Post , Delete - work OK.
This problem does not happen if I use Apache, so it's a IIS problem , not a Cache problem.
Searching for solutions on google, this solution is popular-
To fix this error, add an explicit content length to your request before making the API call.
request.ContentLength = 0;
So - using %Net.HttpRequest , how do I accomplish this? ContentLength is a calculated property .
also, did you guys ran into a similar problem using REST ?
Regards,
Nael Nasereldeen