OAuth2 - Authentification par HTTPie
The snippet can be accessed without any authentication.
Authored by
erwan.salmon
Exemple de requête d'authentification OAuth2 via HTTPie (https://httpie.io)
- CLIENT_ID : identifiant d'authentification oauth2
- CLIENT_SECRET : secret d'authentification oauth2
- URL_TOKEN : adresse du endpoint d'authentification
http -bf -a $CLIENT_ID:$CLIENT_SECRET $URL_TOKEN grant_type=client_credentials
Please register or sign in to comment