Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
General
REST controller HTTP methods
chrisv
August 2013
I realise that, strictly, I've been mis-using the PUT method to do partial updates; I gather I should be using the more recent PATCH method (eg
https://restful-api-design.readthedocs.org/en/latest/methods.html#patch-vs-put
).
Could you add the PATCH method (and perhaps HEAD and OPTIONS) to the REST controller?
Harro
August 2013
Accepted Answer
Please create a feature request for this at
https://github.com/fuel/core
, with a definition of your use-case.
chrisv
August 2013
Done. C.
chrisv
August 2013
I now understand that all HTTP methods supported by the webserver are passed directly to the controller, so PATCH is effectively already supported.
Thanks, Harro.
Harro
August 2013
Correct.
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
5,088
General
↳ General
3,364
↳ Job Board
13
↳ Installation & Setup
214
Packages
↳ Oil
213
↳ Orm
700
↳ Auth
260
Development
↳ Tips and Tutorials
126
↳ Code share
145
↳ Applications
52
In this Discussion
chrisv
August 2013
Harro
August 2013