Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 491 Bytes

LOCAL.md

File metadata and controls

18 lines (16 loc) · 491 Bytes
// Create User
curl -X POST \
  -H 'Content-Type: application/json' \
  -d '{"email": "[email protected]", "password": "artur123", "name": "Artur Gontijo"}' \
  http://0.0.0.0:4000/users | jq .

// Get User
curl -X GET \
  -H 'Content-Type: application/json' \
  http://0.0.0.0:4000/users/66a0413645c44de68c1307a1 | jq .

// Delete User
curl -X DELETE \
  -H 'Content-Type: application/json' \
  -d '{"email": "[email protected]"}' \
  http://0.0.0.0:4000/users | jq .