Chapter 6. Using the REST Interface
Applications are usually built using components that can be distributed on the network. The protocol that is used to communicate with remote components should be fast but simple to use. Representational State Transfer (REST) is a software architecture style based on the principles of HTTP—the protocol of the World Wide Web (WWW). Combined with simple data representation, REST is a popular way to access remote components or services.
In this chapter, we will cover the following topics:
- What is REST and how it uses JSON
- How to expose an interface via REST
- How to access a component remotely via REST
- How to tailor the URL path and parameter passing