What is the MIME type and how do I use it? [Curl/Bash Code]

MIME (Multipurpose Internet Mail Extensions) type is a standard way of describing a data type in the body of an HTTP message or email. The MIME type is passed in the Content-Type header. For example, the Content-Type: text/html header tells the browser that it received an HTML page. Based on this MIME type header, the browser can parse and display the received HTML page correctly. The Curl/Bash code was automatically generated for the Mime Type example.
Loading...