Last active
December 29, 2015 11:29
-
-
Save cdeutsch/7663643 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| HttpResponseMessage response = new HttpResponseMessage(HttpStatusCode.OK); | |
| response.Content = new StringContent(<SOME OBJECT CONVERTED TO STRING FORMAT>); | |
| response.Content.Headers.ContentType = new MediaTypeHeaderValue("application/xml"); | |
| return response; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment