April 2020
Intermediate to advanced
716 pages
18h 55m
English
Using the token received after sign-in, we can now access the protected route that failed previously. The token is set in the Authorization header in the Bearer scheme when making the GET request to /api/users/5a1c7ead1a692aa19c3e7b33. This time, the user object is returned successfully:

Using ARC as demonstrated in this section, you can also check the implementation of the other API endpoints for updating and deleting a user. With all these API endpoints working as expected, we have a complete working backend for MERN-based applications.
Read now
Unlock full access