Skip to content

Instantly share code, notes, and snippets.

@ejangi
Created December 21, 2023 23:20
Show Gist options
  • Save ejangi/22a595ab6601908d4d5b40aa99460a62 to your computer and use it in GitHub Desktop.
Save ejangi/22a595ab6601908d4d5b40aa99460a62 to your computer and use it in GitHub Desktop.
curl \
--header "Content-Type: application/json" \
--header "Authorization: Bearer abc123" \
--request POST \
--data '{"username":"xyz","password":"xyz"}' \
http://localhost:3000/api/myendpoint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment