POST request method with headers
JSON example
curl -i \
--header "Content-Type: application/json" \
--request POST \
--data '{"data":"this example for json"}' \
URL_REQUEST
FORM example
curl -i \
--request POST \
--data "param-name=param-value" \
URL_REQUEST