Handling content
When you create a JAX-RS resource method for an Integration Object, the Consumes field specifies the content types (Internet media types, or MIME types) the JAX-RS resource method supports as input in a HTTP request body. The Produces field lists the content types the JAX-RS resource method supports as output in a HTTP response body.
The content type of an HTTP request or response is defined in the Content-Type HTTP header field. An HTTP request can also use the Accept HTTP request header field to specify the content types it can accept in the response.
- For HTTP specifications, see https://www.w3.org/Protocols/.
- For JAX-RS specifications, see https://jcp.org/aboutJava/communityprocess/final/jsr311/index.html.
- For JSON format definitions, see http://www.json.org/.