Created
December 17, 2013 16:04
-
-
Save dpobel/8007340 to your computer and use it in GitHub Desktop.
REST create session issue
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
| # adapte l'URL et ton password | |
| curl 'http://ezpublish5.loc/api/ezp/v2/user/sessions' -H 'Content-Type: application/vnd.ez.api.SessionInput+json' -H 'Accept: application/xml' --data-binary '{"SessionInput":{"login":"admin","password":"ezpublish"}}' | |
| # adapte l'URL, le nom de la session et l'identifiant | |
| curl 'http://ezpublish5.loc/api/ezp/v2/user/users/14' -H 'Accept: application/vnd.ez.api.User+json' -H 'Cookie: eZSESSID=v4cpacftmk0148pg7ferpstkm4' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment