Using Curl -H Option

An example of making a Curl request to the https://reqbin.com/echo/post/json API endpoint using the POST HTTP method.
Using Curl -H Option Run
curl -X POST https://reqbin.com/echo/post/json 
   -H "Content-Type: application/json"
Updated: Viewed: 898 times


Generate Code Snippets for Curl -h Flag Example

Convert your Curl -h Flag request to the PHP, JavaScript/AJAX, Node.js, Curl/Bash, Python, Java, C#/.NET code snippets using the ReqBin code generator.