9951 explained code solutions for 126 technologies


curlHow to set request content-type


curl -H 'Content-Type: text/plain' https://example.org/ctrl + c
curl

base curl command

-H

set specified header

Content-Type

allows to set content type of request

text/plain

content type to use for this request

https://example.org/

sample URL to send request to