linux post request curl code example
Example: curl https post
curl -d "" https://example.com
curl -H "Content-Type: application/json" --data "@C:\Users\xxx\Desktop\body.json" https://example.com/api/service
curl -d "" https://example.com
curl -H "Content-Type: application/json" --data "@C:\Users\xxx\Desktop\body.json" https://example.com/api/service