Closed (works as designed)
Project:
Services
Version:
7.x-3.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
29 Jun 2017 at 17:29 UTC
Updated:
30 Jun 2017 at 13:39 UTC
Jump to comment: Most recent
Comments
Comment #2
jeepster commentedI solved by:
Checking Session authentication in Endpoint edit, adding a token before login and changing it for the returned token with login.
So.
1. Get a token with endpoint/user/token
2. Login with X-CSRF-Token = token in headers: endpoint/user/login.json
3. Change X-CSRF-Token for the new token received after login
4. Get user information with endpoint/user/67.json and X-CSRF-Token in headers
5. Put new user information with endpoint/user/67.json and X-CSRF-Token in headers
No Cookie was needed.
I hope it helps.
Comment #3
tyler.frankenstein commentedThank you for following up with the solution!