Timestamp validity
GET https://postman-echo.com/time/valid?timestamp=2016-10-10
A simple GET
request to /time/valid
to determine the validity of the timestamp, (current by default).
This endpoint accepts timestamp
, locale
, format
, and strict
query parameters to construct the date time instance to check against.
Responses are provided in JSON format, with a valid key to indicate the result. The response code is 200
.
{
valid: true/false
}
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
timestamp | string |
RESPONSES
status: OK
{"valid":true}