httpbin

/status/{statusCode}

patch

Path Parameters

statusCodeOne Of
arrayrequired

HTTP status code. May include optional weight, e.g. 200:0.9

>= 1 items

Example:["200:5","500:0.3",418]

Variant 1string

Response

default

A response with the requested status code.

patch/status/{statusCode}
 
default

/status/{statusCode}

put

Path Parameters

statusCodeOne Of
arrayrequired

HTTP status code. May include optional weight, e.g. 200:0.9

>= 1 items

Example:["200:5","500:0.3",418]

Variant 1string

Response

default

A response with the requested status code.

put/status/{statusCode}
 
default

/status/{statusCode}

delete

Path Parameters

statusCodeOne Of
arrayrequired

HTTP status code. May include optional weight, e.g. 200:0.9

>= 1 items

Example:["200:5","500:0.3",418]

Variant 1string

Response

default

A response with the requested status code.

delete/status/{statusCode}
 
default

The current time, in a variety of formats

get

Response

200 application/json

OK

nowobjectrequired

Example:{"epoch":1485183550.84644,"slang_date":"Jan 23","slang_time":"4 months ago","iso8601":"2017-01-23T14:59:10.846440Z","rfc2822":"Mon, 23 Jan 2017 14:59:10 GMT","rfc3339":"2017-01-23T14:59:10.84Z"}

Show Child Parameters
urlsarray[string]required

Example:["/","/docs","/when/:human-timestamp","/parse/:machine-timestamp"]

get/
 
200 application/json

/when/{human-timestamp}

get

Path Parameters

human-timestampAny Of
required
Variant 1string

Response

application/json

OK

TimestampWrapper

timestampobjectrequired

Example:{"epoch":1485183550.84644,"slang_date":"Jan 23","slang_time":"4 months ago","iso8601":"2017-01-23T14:59:10.846440Z","rfc2822":"Mon, 23 Jan 2017 14:59:10 GMT","rfc3339":"2017-01-23T14:59:10.84Z"}

Show Child Parameters
get/when/{human-timestamp}
 
application/json