get request curl https code example
Example 1: curl post request
curl -d "user=user1&pass=abcd" -X POST https://example.com/login
Example 2: curl get url https
curl -k https://localhost:44344/xxxxx
curl -d "user=user1&pass=abcd" -X POST https://example.com/login
curl -k https://localhost:44344/xxxxx