I’m using Silex framework for mocking REST server. I need to create uri for OPTIONS http method, but Application class offers only methods for PUT, GET, POST and DELETE. Is it possible to add and use a custom http method?
I’m using Silex framework for mocking REST server. I need to create uri for
Share
I did the same thing but I can’t remember very well how I managed to make it work. I can’t try it right now. For sure you have to extend the
ControllerCollection:And then use it in your custom
Applicationclass: