nmattisson / HttpClient

Http Client Library for the Spark Core (also well suited for Arduino and other embedded platforms).
Other
121 stars 150 forks source link

Hostname & Path changed to www.worldclockapi.com #41

Closed jonathanrjpereira closed 5 years ago

jonathanrjpereira commented 5 years ago

www.timeapi.org no longer exists and hence www.timeapi.org/utc/now gives the following error:

Application>    Response status: -1
Application>    HTTP Response Body:

Whereas http://www.worldclockapi.com/api/json/utc/now returns:

Application>    Response status: 200
Application>    HTTP Response Body: {"$id":"1","currentDateTime":"2018-12-19T11:07Z","utcOffset":"00:00:00","isDayLightSavingsTime":false,"dayOfTheWeek":"Wednesday","timeZoneName":"UTC","currentFileTime":131896912299228305,"ordinalDate":"2018-353","serviceResponse":null}