curl_examples.sh 181 B

12345678910
  1. #! /bin/bash
  2. #
  3. curl -X 'POST' \
  4. 'http://127.0.0.1:8000/login' \
  5. -H 'accept: application/json' \
  6. -H 'Content-Type: application/json' \
  7. -d '{
  8. "username": "fdamstra"
  9. }'