# POST

Handle a POST request with @PostMapping and @RequestBody, insert the new category with a JdbcTemplate and return it with its generated id and a 201 status.

![Cheat sheet: POST](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/f332561251e74084bab21e7605bdf917.webp)

- Category: Spring Boot
- Level: Journeyman
- Tags: rest-api, Spring Boot
- Updated: November 3, 2026

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