MicrolearnENPTES

Login and tokens

Lesson 14 of 20 · API.Micro

Log in once, then prove who you are with a bearer token.

The menu is public, but orders belong to people. Without a token: 401, and WWW-Authenticate: Bearer says how to authenticate.

Check yourself

How is the token sent on each request?

Do it in the browser: a real REST APIs tool, a short mission and instant feedback. No install.

Start this lesson — free
← API keysCORS →

All lessons · API.Micro