how to make a post requet in curl code example Example: curl post request curl -d "user=user1&pass=abcd" -X POST https://example.com/login