4 Pizza delivery: Connecting an external service

This chapter covers

  • Connecting your serverless function to an external service using an HTTP API
  • Dealing with common problems in async communication with Claudia API Builder

As you learned in the previous chapter, handling asynchronous operations in AWS Lambda is easy with Claudia API Builder. In that chapter, you also learned how to create a database for your pizza orders and created functions to store, retrieve, update, and delete them. But your application is capable of much more than that.

This chapter shows you how to connect your serverless application to an external HTTP service by enabling Aunt Maria’s pizzeria to use the Some Like It Hot Delivery Company’s API and offer more home ...

Get Serverless Applications with Node.js now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.