Curl Post JSON
curl -X POST -H "Content-Type: application/json" \
-d '{"username":"abc","password":"abc"}' \
https://api.example.com/v2/login
Poised Pheasant
curl -X POST -H "Content-Type: application/json" \
-d '{"username":"abc","password":"abc"}' \
https://api.example.com/v2/login
curl --location --request POST 'https://app.curia.coop/api/graphql' \
--header 'cache-control: no-cache' \
--header 'content-type: application/json' \
--data-raw '{
"query" : "mutation { createToken(input: {email: \"[email protected]\", password: \"Q7j2xfBWuD5T0cN8\"}) { token refreshToken user { id name email picture } } }"
}'