How does the API work
APIs communicate through a set of rules that define how computers, applications or machines can talk to each other. The API acts as a middleman between any two machines that want to connect with each other for a specified task.
What is JSON-HAL
The JSON Hypertext Application Language (HAL) is a standard which establishes conventions for expressing hyperlinks with JSON [RFC4627]. HAL is a generic media type with which Web APIs can be developed and exposed as series of links.