Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl localhost:5000/users -F username=user1 -F email=user1@gmail.com -F password=user1
- curl localhost:5000/clients -F client_name=user1 -F grant_type=password -F token_endpoint_auth_method=client_secret_basic
- curl -u <client_id>:<client_secret> localhost:5000/token -F grant_type=password -F username=user1 -F password=user1
- curl -H "Authorization: Bearer <access_token>" localhost:5000/users
Add Comment
Please, Sign In to add comment