Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
How can I remove {"message":"success"} ?
  • 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
  • You get that where? As part of the response?
  • Rest Controller

    class Controller_Test extends Controller_Rest
  • HarroHarro
    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.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion