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
How can I remove {"message":"success"} ?
wesley305
April 2015
When I doing $curl = \Request::forge($url, 'curl'); I also get {"message":"success"}. But How can I remove this message that I don't need it.
Thanks
Harro
April 2015
You get that where? As part of the response?
wesley305
April 2015
Rest Controller
class Controller_Test extends Controller_Rest
Harro
April 2015
Accepted Answer
You mean you use a Fuel curl request to call a Fuel rest controller?
The rest controller only injects a response in case of an error situation, and then it's accompagnied with a HTTP status other than 200.
I can't find "message" nor "success" in the rest base controller code, so it must come from elsewhere.
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,089
General
↳ General
3,364
↳ Job Board
13
↳ Installation & Setup
214
Packages
↳ Oil
213
↳ Orm
700
↳ Auth
261
Development
↳ Tips and Tutorials
126
↳ Code share
145
↳ Applications
52
In this Discussion
Harro
April 2015
wesley305
April 2015