Response.ContentType = "application/json" code example Example: http content type json application/json