---
title: "Put request"
method: PUT
path: "/kitchen-sink/http-methods/put"
tags: ["🚰 Kitchen Sink"]
---

# Put request

`PUT /kitchen-sink/http-methods/put`

The `PUT` method is used to update or replace an existing resource on the server.

It sends the entire representation of the resource in the request payload, replacing the existing resource entirely.

If the resource does not exist, `PUT` can also be used to create a new resource with a specific identifier.

**Typical Usage:** `PUT` requests are commonly used to update or replace an entire resource on the server.

_**For example,**_

updating a user's profile information, replacing a document, or modifying an existing record.

## Response `200`

Put request

- object
  - `data` object
    - `headers` object
      - `accept` string
      - `accept-encoding` string
      - `cache-control` string
      - `connection` string
      - `content-length` string
      - `cookie` string
      - `host` string
      - `postman-token` string
      - `user-agent` string
    - `method` string
    - `origin` string
    - `url` string
  - `message` string
  - `statusCode` number
  - `success` boolean

---

[API](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi.md) · [All operations](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hiteshchoudhary-ssesph/freeapi/versions/a9f3a290e4dc/schema)
