json-api-example
json-api-example copied to clipboard
Allow cross-origin OPTIONS requests
The Access-Control-Allow-Origin header was already being set, but this adds Access-Control-Allow-Methods and Access-Control-Allow-Headers headers and prevents OPTIONS requests from 404ing.
Whoops, looks like a dup of #13