Introduction
When we say Web API, it’s an application programming interface we develop that’s meant for the client to consume. Said API uses HTTP to communicate. A browser can use a Web API to expose data and functionality to other browsers and applications.
When developing a Web API, you can use any programming language and framework you want. Regardless of the chosen tech, there are things you always need to consider, like data storage, security, authentication, authorization, documentation, testing, and more.
It’s with this understanding of what things we need to consider that we can use an AI assistant to help us build a backend.
In this chapter, we will:
- Learn about Web APIs
- Create a Web API with Python and Flask
- Use our AI assistant to answer questions, suggest code, and create documentation and tests