Link to home
Start Free TrialLog in
Avatar of Confused Coder
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
ASKER CERTIFIED SOLUTION
Avatar of Steve Bink
Steve Bink
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial