rsweetland / serverless-cors-test

A test Serverless CORS module using S3 Client
0 stars 0 forks source link

Let's Get CORS working with JSON + Forms

This is a sample project that uses the serverless framework to accept an inbound post.

The CORS endpoint works with application/json which you can test here:

http://test-cors.org/

Live Endpoint (at the time of this writing): https://lqua9t0r4g.execute-api.us-east-1.amazonaws.com/dev/testPost

I would like for it to accept raw form input and parse out an "email" input.

Returning the parsed input in the function response would be fine for now.

Installing