I'm creating an HttpResponseMessage
object and sending it back to the caller. I also pass in a Dictionary<string,object>
.
return HttpContext.Current.Request.CreateResponse(httpStatusCode.Ok, mydict);
How does the caller access the dictionary on their end? They get back the HttpResponseMessage
type but trying to read the Content
object on it hasn't produce anything like a dictionary.