Summary
In this chapter, we have extended our component with a Web Service API. This will allow us to create further automations and integrations with other sites on the internet. We learned about the basics of any Web Service and how we can consume a Web Service API. We saw how easy it is to create a secure Web Service with Joomla! using the provided token authorization and we developed our first Joomla! plugin to create the endpoints for our Web Service. Finally, we connected these endpoints with our component logic to get the proper responses.
This chapter finished the first part of the book in which we learned all the basics of developing a modern Joomla! component. In the next part of the book, we will cover other types of extensions we can code for Joomla!. Specifically, in the next chapter, we will see how we can create a companion module for our component to show information to our customers.