-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Description
This applies to when the lambda is handling the OPTIONS method, and running the lambda with sam local. (I have not tested elsewhere)
OPTIONS request:
`
curl -i 'http://localhost:3000/calendar_location/distances?date=2019-10-28' -X OPTIONS
HTTP/1.0 200 OK
Content-Length: 0
Server: Werkzeug/0.15.6 Python/3.7.4
Date: Sat, 09 Nov 2019 23:34:46 GMT
`
GET request:
`curl -i 'http://localhost:3000/calendar_location/distances?date=2019-10-28'
HTTP/1.0 200 OK
Content-Type: application/json
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET,OPTIONS
Access-Control-Allow-Credentials: true
Content-Length: 870
Server: Werkzeug/0.15.6 Python/3.7.4
Date: Sat, 09 Nov 2019 23:35:04 GMT
....
`
Reactions are currently unavailable