Closed ZakariaTalhami closed 4 months ago
will this api be refactored to accept cookies instead of the authorization header?
will this api be refactored to accept cookies instead of the authorization header?
Yeah, It should be modified to expect cookies instead of authentication header.
Hi, why does the /users/login api also return the avatar while this one doesn't? Will it be added here too?
I think the POST to /users/ vs /users/register really depends if you're looking at it from service oriented or entity based. Are you exposing a direct CRUD from the DB as endpoints or are you creating an abstract service? Something that I always spend ages thinking about on my own projects.
Issue #10
Changes:
require_auth
decorator to authenticate user access tokensFetch User API
URL
Headers
Response