Skip to content

Instantly share code, notes, and snippets.

@nidup
Created March 12, 2017 15:53
Show Gist options
  • Save nidup/898e73226ad086b899117c8b43a0b828 to your computer and use it in GitHub Desktop.
Save nidup/898e73226ad086b899117c8b43a0b828 to your computer and use it in GitHub Desktop.
Akeneo Web API, get token (curl)
curl -X POST -H "Content-Type:application/json" -H "Authorization:Basic Ml8xeGtrdnhyamt1NzRrNHNzOGs0NGt3d3NrbzQwbzA4Y2tnNDg4b2djb3Nnb29rZ280MDozcHM0aTZxNjJyNnMwdzg4a3Nvc3NvMGNjOHM0d2NjMHc0dzRnY29nbzRnd2dra3drNA==" -d '{"grant_type":"password","username":"admin","password":"admin"}' http://pim-ce-17-odm.local/app_dev.php/api/oauth/v1/token
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment