httpbin

Returns cookie data

get

Response

200

OK

get/cookies
 
200

Sets one or more simple cookies

get

Query Parameters

freeformobject

Enter free-form query parameters in the JSON format { "param1": "value1", "param2": "value2", ... }.

Note that the parameters will be actually sent as ?param1=value1&param2=value2&...

* Additional properties are allowed.

Response

200

OK

get/cookies/set
 
200

Delete one or more simple cookies

get

Query Parameters

freeformobject

Enter free-form query parameters in the JSON format { "param1": "value1", "param2": "value2", ... }.

Note that the parameters will be actually sent as ?param1=value1&param2=value2&...

* Additional properties are allowed.

Response

200

OK

get/cookies/delete
 
200

CommonResponse

object

Response returned by /get

argsobjectrequired

Query string parameters specified in the request URL.

headersobjectrequired

Headers (standard or custom) used in the request. Some typical headers are:

  • Accept
  • Accept-Encoding
  • Content-Length
  • Content-Type
  • Host
  • Origin
  • Referred
  • User-Agent
originstringrequired

The origin IP from which the request was made.

Example:10.100.10.10, 10.100.10.44, 52.91.14.13

urlstring(uri)required

The endpoint URL to which the request was made.

Example:https://httpbin.org/post

Example

PostResponse

Response returned by /post, /put, /patch and /delete

argsobjectrequired

Query string parameters specified in the request URL.

headersobjectrequired

Headers (standard or custom) used in the request. Some typical headers are:

  • Accept
  • Accept-Encoding
  • Content-Length
  • Content-Type
  • Host
  • Origin
  • Referred
  • User-Agent
originstringrequired

The origin IP from which the request was made.

Example:10.100.10.10, 10.100.10.44, 52.91.14.13

urlstring(uri)required

The endpoint URL to which the request was made.

Example:https://httpbin.org/post

data
files
formobject

Form parameters specified in “application/x-www-form-urlencoded” and multipart/form-data requests.

json

JSON value sent in the payload. Can be object, array, string, number, boolean or null.

Example