Confused Coder
asked on
How can i change Http Status and Content Type in response
Currently i am using
Dim myResponse As New Http.HttpResponseMessage
myResponse.StatusCode = "203"
Looking for some reference or sample code which will let me do following;
a) set the HTTP Status Code
b) set the Content-Type in Header
c) Return txt like json or XML
Dim myResponse As New Http.HttpResponseMessage
myResponse.StatusCode = "203"
Looking for some reference or sample code which will let me do following;
a) set the HTTP Status Code
b) set the Content-Type in Header
c) Return txt like json or XML
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.