This topic describes how to set the type of the request body for a SpringCloud microservice.
The following table describes the body types supported for Spring Cloud microservices.
Body Type | Content Type |
x-www-form-urlencode | application/x-www-form-urlencoded |
raw(Text) | text/plain |
raw(JSON) | application/json |
raw(JavaScript) | application/javascript |
raw(XML) | text/xml |
raw(HTML) | text/html |