Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 460 Bytes

how-to-set-request-content-type.md

File metadata and controls

14 lines (10 loc) · 460 Bytes

How to set request content-type

curl -H 'Content-Type: text/plain' https://example.org/
  • 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

link_youtube: https://youtu.be/pOo5EcCLhes