August 2016
Intermediate to advanced
360 pages
8h 44m
English
The endpoints are not one-to-one with the apps we’ll build; in fact, both the Android and Xamarin apps use the currency-conversion endpoint, and the React Native app uses the notes endpoints and the reverse geocode endpoint.
I recommend testing the API endpoints to make sure you’re getting back what you expect. You can use any HTTP client, such as Postman.[19] You just need to be able to set the Content-Type and Accept HTTP headers to application/json. I’ve provided examples in the following sections using curl.
The /clock/time_zones endpoint is pretty simple. It returns a list of all the time zones that Rails knows about, decorated with a little extra display information.
If you call
| | $ curl ... |
Read now
Unlock full access