Leap year check

GET https://postman-echo.com/time/leap?timestamp=2016-10-10

A simple GET request to /time/leap to check if the provided/current timestamp belongs to a leap year.

This endpoint also 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 leap key to indicate the result. The response code is 200 for valid query parameters, and 400 otherwise.

{
  leap: true/false
}

Request Params

KeyDatatypeRequiredDescription
timestampstring