HttpResponseHelper/CreateJsonResponse

Converts an object to JSON and creates an HttpResponseMessage.

Request Information

Parameters

NameDescriptionType
data

Object to convert to JSON

Object

code

Http status code

HttpStatusCode

Response Information

Response Description

DescriptionType

HttpResponseMessage

HttpResponseMessage