Before comparisons
GET https://postman-echo.com/time/before?timestamp=2016-10-10&target=2017-10-10
A simple GET
request to /time/before
to check if the provided timestamps is before a comparison target
(query parameter).
This endpoint accepts timestamp
, locale
, format
, strict
, and target
query parameters to construct the date time instance to check against.
Responses are provided in JSON format, with a before
key to indicate the result. The response code is 200
for valid query parameters, and 400
otherwise.
{
before: true/false
}
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
timestamp | string | ||
target | string |