v1

latestOpenAPI 3.0.3raw.githubusercontent.com2024-10-2916802.4 MB
🚰 Kitchen Sink

Get request

The GET method is used to retrieve or fetch a representation of a resource from a server.

It is a safe and idempotent operation, meaning it should not have any side effects on the server's data.

GET requests are read-only and should not modify the state of the server or its resources.

Typical Usage: GET requests are commonly used to retrieve data from a server.

For example,

fetching a user's profile information, retrieving a list of products, or fetching specific data based on query parameters.

get/kitchen-sink/http-methods/get

Response

Get request

messagestring
statusCodenumber
successboolean

Example response

{
  "data": {
    "headers": {
      "accept": "*/*",
      "accept-encoding": "gzip, deflate, br",
      "cache-control": "no-cache",
      "connection": "keep-alive",
      "cookie": "accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2NDg5NjI2ZGMyNjVmMGFhMmRiYjczYTQiLCJlbWFpbCI6IndhamUuc2h1YmhhbTExMTJAZ21haWwuY29tIiwidXNlcm5hbWUiOiJ3YWplc2h1YmhhbTIiLCJyb2xlIjoiQURNSU4iLCJpYXQiOjE2ODY3Mjc3MjAsImV4cCI6MTY4NjgxNDEyMH0.X7DSYAaqIFVtNxqDSYWW40NNoxu-npBh0Yo7dsPIfBg; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2NDg5NjI2ZGMyNjVmMGFhMmRiYjczYTQiLCJpYXQiOjE2ODY3Mjc3MjAsImV4cCI6MTY4NzU5MTcyMH0.sesIJ2P7EqaauA8JbNFe-7vbWMhH7uhiPn25x4zUG0I",
      "host": "localhost:8080",
      "postman-token": "cc843cab-717e-45f2-a45b-8bc69dbeed51",
      "user-agent": "PostmanRuntime/7.32.2"
    },
    "method": "GET",
    "origin": "::ffff:172.27.0.3",
    "url": "http://localhost:8080/api/v1/kitchen-sink/http-methods/get"
  },
  "message": "GET request",
  "statusCode": 200,
  "success": true
}