httpbin
Returns an image based on the Accept header.
get
Response
Response
OK
string
get/image
Returns cookie data
get
Response
200
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¶m2=value2&...
* Additional properties are allowed.
Response
200
Response
200
OK
get/cookies/set
Query Parameters
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¶m2=value2&...
* Additional properties are allowed.
Response
200
Response
200
OK
get/cookies/delete
Query Parameters
200
CommonResponse
objectResponse 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