Adding CORS decorator
Using CORS decorator for delete group
Modifying request & response headers for CORS

adding response header Access-Control-Allow-Methods get post delete
options

this was the root cause for DELETE & PUT methods to work earlier