httpbin

/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

/parse/{machine-timestamp}

get

Path Parameters

machine-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/parse/{machine-timestamp}
 
application/json

Returns an image with the specified format.

get

Path Parameters

formatstringrequired

Allowed values:pngjpegwebpsvg

Response

200

OK

string
get/image/{format}
 
200