Adding a Web Service API to Your Component
In this chapter, we are going to explore the recently added Joomla! Web Services API, which will allow us to integrate our Joomla! site with other websites and services. We will present a simple way to consume this Web Service API from our computer that will allow us to test our developments. We will also explore the authorization and permissions that affect the Joomla! Web Services, and finally, we will add a Web Service API for our component to read and add data to our site.
At the end of the chapter, you will be able to understand how Joomla! Web Services work and connect with any Joomla! site using it. You will also be able to create your own Web Services API for your Joomla! extension and set up the required permissions for it.
Using the Joomla! Web Services API allows us to exchange data with other websites and extend our sites beyond the web browser. One interesting area for a web developer is developing automation to integrate...