GET

Retrieves a representation of the resource. GET requests should be safe and idempotent—they do not modify server state. Parameters go in the URL (query string).

Properties

Safe
Yes
Idempotent
Yes
Has body
No

Typical use cases

Fetching data, listing resources, search queries

cURL example

curl https://api.example.com/users/1

Typical response

{"id":1,"name":"Alex","email":"alex@example.com"}

Common status codes

200 OK301/302 Redirect304 Not Modified404 Not Found500 Server Error

Comparison with similar methods

Unlike POST, GET has no body and is cacheable. Use GET for read-only operations.

Related methods

Tools

API Request Builder →