May 2018
Intermediate to advanced
470 pages
13h 54m
English
To be able to access the protected route, we will sign in using the credentials of the user created in the first example. To sign in, a POST request is sent at /auth/signin with the email and password in the request body. On successful sign-in, the server returns a signed JWT and user details. We will need this token to access the protected route for fetching a single user:

Read now
Unlock full access