# Insomnia: Signing In and Sending a Token

Before you secure the categories API, save the requests a signed-in client sends in Insomnia, register, log in, and send the token from the login's answer as a Bearer token, and see that today the API lets anyone in.

![Cheat sheet: Insomnia: Signing In and Sending a Token. Before you secure the categories API, save the requests a signed-in client sends in Insomnia, register, log in, and send the token from the login's answer as a Bearer token, and see that today the API lets anyone in.](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/0163ca53e8894705b68109391710872f.webp)

- Category: ASP.NET Core
- Level: Journeyman
- Tags: 401 Unauthorized, 403 Forbidden, aspnet-core, Bearer Token, rest-api
- Updated: November 14, 2026

Source: https://www.ask-codey.com/cheat-sheets/securing-the-web-api-insomnia-sign-in-and-tokens-cheat-sheet
