Made it so that when there is no action 404 is returned, instead of 500.
Merge branch 'master' of https://github.com/feroult/endpoint
Fixed merge