'Why do people integrate WSGI/ASGI frameworks with lambda and AWS API Gatewy when AWS lambda can use core python (has inbuilt support)?

Why do you need a WSGI/ASGI framework when you can create a REST API just using AWS API gateway and lambda integration(using a lambda handler to process a request and return a response). Isnt including WSGI/ASGI making the app more complex?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source