An example of passing a MIME type of a resource. The MIME type indicates the format of the data in the body of the request or response. The 'Content-Type: application/json' request header tells the server that the request contains a JSON string. The 'Accept: application/json' request header indicates that the client expects JSON media type. The Curl/Bash code was automatically generated from the MIME Type Example.