Dyalog / Jarvis

APL-based web service framework supporting JSON or REST
https://dyalog.github.io/Jarvis/
MIT License
33 stars 6 forks source link

Verify request method in all location #13

Closed arcfide closed 4 years ago

arcfide commented 4 years ago

Fixes #9

There is already a check for invalid method calls when the HTML Interface is disabled, but this commit adds a check to the standard path to verify that we only work with 'post' methods in cases where we are called with a non-get method on a valid function but with an invalid request method.