- Hands-On Serverless Applications with Kotlin
- Hardik Trivedi Ameya Kulkarni
- 122字
- 2025-02-26 15:24:31
Designing the serverless API
Let's jump to the server side – I mean, the serverless side. Now, we have to list our API requirements. These will mainly be REST APIs, over an HTTP connection. The request and response format will be in JSON. We already listed our UI requirement in the previous section. Keeping these requirements in mind, as we will jot the APIs down one by one, along with their structures.
You may recall having used AWS Lambda with the help of the API Gateway service in the previous chapter. In this lesson, the same concept will be our weapon. With it, we can develop RESTful web services. Let's delve a bit deeper into the API design.