lookup> GET

GET

Requests the current representation of the target resource. Safe, idempotent and cacheable, GET is the most common HTTP method.

safeidempotentcacheableRFC7231#4.3.1
PropertyValue
Safe (does not modify state)Yes
Idempotent (repeatable)Yes
CacheableYes

Requests the current representation of the target resource. Safe, idempotent and cacheable, GET is the most common HTTP method.

curl https://api.example.com/users/1
GET /api/users HTTP/1.1
Host: example.com
Accept: application/json
GETPOST
Retrieve dataSubmit data
SafeNot safe
IdempotentNot necessarily
CacheableUsually not

Is the GET method safe?

GET is a safe method — it does not change resource state on the server.

What happens if I send GET repeatedly?

GET is idempotent — repeated requests have the same effect as a single request.

All HTTP methods

Related status codes

Related headers