kshitij10496 / hercules

The mighty hero helping you build projects on top of IIT Kharagpur's academic data
https://hercules-10496.herokuapp.com/api/v1/static/index.html
MIT License
34 stars 18 forks source link

Support OPTIONS HTTP method #51

Open kshitij10496 opened 5 years ago

kshitij10496 commented 5 years ago

The idea is to enhance the security by restricting the clients to interact with the API only via GET requests. We need to add appropriate handler code and Access-Control-Allow-Methods response header.