Hi,

In my application, I have a module - 'webservice' to handle all REST requests.

In my front controller I check if the request has a valid API key in the request URI parameters. If a valid key is not found access is denied.

Example URI with API key : example.com/webservice/lead/apikey/myapikey

My problem is, Zend_Rest_Route routes the request to putAction() if it finds anything after module/controller/ in the URI even though the method is POST.

Is it possible to route requests to postAction() and pass pass parameters in the URI?

Or, is there a better way of managing API key checks for REST requests?

--

With warm regards,
Sudheer. S
Business: http://binaryvibes.co.in, Tech stuff: http://techchorus.net, 
Personal: http://sudheer.net


Reply via email to