how to make a post request with curl with body code example
Example 1: curl post request
curl -d "user=user1&pass=abcd" -X POST https://example.com/login
Example 2: curl adding body
curl -X POST -H "Content-Type: text/plain" --data "this is raw data" http://78.41.xx.xx:7778/