# GET

GET reads data. One \[HttpGet\] action returns the whole collection, and an \[HttpGet("{id}")\] action returns one item, its id taken from the address. ASP.NET Core sends what they return as JSON, with 200 OK.

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

- Category: ASP.NET Core
- Level: Journeyman
- Tags: aspnet-core, GET, rest-api, Route Parameter (aspnet-core), Route Template
- Updated: November 3, 2026

Source: https://www.ask-codey.com/cheat-sheets/web-apis-with-controllers-get-cheat-sheet
