httpbin

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

TimestampWrapper

object
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
Example

Timestamp

object
epochnumber(double)required

Example:1498229228.0671656

slang_datestringrequired

Example:today

slang_timestringrequired

Example:now

iso8601stringrequired

Example:2017-06-23T14:47:08.067166Z

rfc2822stringrequired

Example:Fri, 23 Jun 2017 14:47:08 GMT

rfc3339stringrequired

Example:2017-06-23T14:47:08.06Z

Example