# Insomnia: POST

Before you write the POST method, save the request that adds a category in Insomnia, with a JSON body, send it, and learn why the answer today is 405 Method Not Allowed instead of 404.

![Cheat sheet: Insomnia: POST. Before you write the POST method, save the request that adds a category in Insomnia, with a JSON body, send it, and learn why the answer today is 405 Method Not Allowed instead of 404.](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/5737ba9916d84bc296957cdafd91368e.webp)

- Category: Spring Boot
- Level: Journeyman
- Tags: Content-Type, Request Body (rest-api), rest-api, Spring Boot
- Updated: November 14, 2026

Source: https://www.ask-codey.com/cheat-sheets/restful-web-apis-insomnia-post-cheat-sheet
