Skip to content

Instantly share code, notes, and snippets.

@JeanCarlosChavarriaHughes
Last active January 22, 2025 23:40
Show Gist options
  • Save JeanCarlosChavarriaHughes/41d44213572417f9e0bfc5db478e9360 to your computer and use it in GitHub Desktop.
Save JeanCarlosChavarriaHughes/41d44213572417f9e0bfc5db478e9360 to your computer and use it in GitHub Desktop.
token-example-guide1
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