GET

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

The HTTP GET method requests a representation of the specified resource. Requests using GET should only be used to request data and shouldn't include content.

Note: While not strictly prohibited by the specification, the semantics of sending a message body in GET requests are undefined. Some systems may reject the request with a 400 or another 4XX client error.

Request has body No
Successful response has body Yes
Safe Yes
Idempotent Yes
Cacheable Yes
Allowed in HTML forms Yes

Syntax

http
GET /index.html

Specifications

Specification
HTTP Semantics
# GET

Browser compatibility

BCD tables only load in the browser

See also