Created
December 21, 2023 23:20
-
-
Save ejangi/22a595ab6601908d4d5b40aa99460a62 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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