You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are only a few minor issues with the current implementation to
get this going, namely:
- Allowing POST, PATCH etc. in Cloudfront.
- Checking if the NextJS page is a React component or not.
The change to `compatLayer.js` is needed so that if a request without
a body is sent to an API the Stream still has some content. Without
a `_read() is not implemented` is raised which generates an HTTP 400
response without a body.
The stream test case is removed since the stream already has EOF pushed
to it. Don't think there is a use case where the input is a stream
itself.
#116
NextJS 9 has introduced the concept of API Routes which allows for the creation of API endpoints within the pages folder.
Best to read the documentation here as it does a better job of explaining than I could do myself: https://github.com/zeit/next.js#api-routes
In the interest of feature parity, shall we work to support this?
The text was updated successfully, but these errors were encountered: