I am totally new to Action HeroJS and I was wondering how can I restricted users to access my action herojs rest API, url from the browser? I have even put the route as POST, but it is still accessible by get method?
Just like in java when we specify a rest api as post, it will not be accessible by get or browser url? How can I accomplish this?
Edit: Contacted the Action Hero, on github, they were pretty helpful, the solution was: in web.js, put simpleRouting : false, and it should resolve the Issue. Before you could access a post routed action, from the URL but after doing this you cannot!! accessing a POST using get will return you a 404.
Thanks @Evan