The ______ header is often used to pass the authentication token from the client to the server in HTTP requests.
- Authorization
- Token
- Authentication
- Bearer
The Bearer header is often used to pass the authentication token from the client to the server in HTTP requests when using JWTs for authentication. It is a common practice to include the JWT as a Bearer token in the Authorization header. The other options may not be standard headers for this purpose.
Loading...
Related Quiz
- What does JWT stand for in the context of web security?
- To perform an action once a Promise is settled, regardless of its outcome, you can use the .finally() method, which is called on the ________ of a Promise.
- In Jest, to isolate a module from its dependencies for more focused unit testing, you would use ______.
- The 'highWaterMark' option in Node.js streams denotes the ______ of the internal buffer.
- For processing HTTP requests, Express.js allows defining middleware functions at the application level and ______ level.