Simple proxy to a legacy API

In this first example, we'll go through the steps to set up a simple integration with an existing API. What is neat about API Gateway is that it's possible to go a very long way on the path to replacing current application code without writing any code ourselves. 

In these examples, we'll use a publicly available fake API called JsonPlaceholder, pretending for our purposes that it's a legacy API that we'd like to replace: https://jsonplaceholder.typicode.com.

Of course, this type of replacement warrants plenty of thought and careful planning. Authentication, rate limiting, DNS entries, and the like are all factors that much be thought through carefully before embarking on such a project. Still, with all of the ...

Get Serverless Design Patterns and Best Practices 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.