An HTTP 401 unauthorized response coming form IIS 7 body is empty. ASP.NET WEB API -
I have a custom message that is being unauthorized when I have to pass the customer.
I have used the following code to pass the message value on the response body:
string message = baseEx.Detail.ExtraData; Return Reference. request. Create irreversions (HTTP status codes. Unknown, messages);
All work well on my local host, but when I deploy the code on Windows Server machine with IIS 7, I get a blank reaction body.
I am using the asp.net web API
What could be?
Thanks
Comments
Post a Comment