HTTP

Echo a PUT request

put/http/echo

Request

  • Base URL
    https://gorest.co.in/public/v3
  • URL
    https://gorest.co.in/public/v3/http/echo
  • Auth
    • none
    • or HTTP bearer

Response

What the API received.

bodystring nullable required

The body as sent, or null when there was none.

body_encoding'text' | 'base64' | 'null' nullable required

text for a UTF-8 body, base64 for any other bytes, null with no body.

headersHeaders required

Each header once, its values joined with , .

methodstring required
pathstring required
queryobject required

Each query parameter with all its values.

Example response

{
  "method": "POST",
  "path": "/public/v3/http/echo"
}

Changes

No recorded changes to this operation across all 1 revision of this API.