Last active
January 22, 2025 23:40
-
-
Save JeanCarlosChavarriaHughes/41d44213572417f9e0bfc5db478e9360 to your computer and use it in GitHub Desktop.
token-example-guide1
This file contains hidden or 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 --location --request POST 'http://localhost/www/api.php' \ | |
--header 'Content-Type: application/x-www-form-urlencoded' \ | |
--header 'Content-Type: application/x-www-form-urlencoded' \ | |
--data-urlencode 'w=token' \ | |
--data-urlencode 'r=gettoken' \ | |
--data-urlencode 'grant_type=password' \ | |
--data-urlencode 'client_id=api-stag' \ | |
--data-urlencode '[email protected]' \ | |
--data-urlencode 'password=.HG@gK=]H>6M[^8ts/^*' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment