I'd say: use http verbs as much as you can, and use a _method URL parameter when you can't (this is the convention in the Symfony world).



> Le 11 déc. 2013 à 10:57, Robin Bressan <notifications@github.com> a écrit :
> 
> In src/PHPCRBrowser/Browser/Provider/BrowserControllerProvider.php:
> 
> > @@ -46,12 +46,19 @@ public function connect(Application $app)
> >              ->convert('path', $pathConverter)        
> >              ->bind('browser.node');
> >  
> > +
> > +        $controllers->post('/_create/{repository}', array($this, 'createWorkspaceAction'))
> > +            ->bind('browser.workspace.create');
> > +
> > +        $controllers->post('/_delete/{repository}/{workspace}', array($this, 'deleteWorkspaceAction'))
> Yes, but for the delete, use delete http will force us adding some js in order to perform a DELETE HTTP Request when the deletion is confirmed. And so it won't be consistent to use http verbs in one case and not in the other no ?
> 
> —
> Reply to this email directly or view it on GitHub.