Welcome Guest, Not a member yet? Register   Sign In
REST controller wrong output
#10

[eluser]Tpojka[/eluser]
So json_encode it:
[code]
//$this->response(array('id'=>'012e0098'), 200);
echo json_encode(array('id'=>'012e0098'));
[code]

edit: don't just copy this, use correct quote marks instead


Messages In This Thread
REST controller wrong output - by El Forum - 03-14-2014, 12:44 PM
REST controller wrong output - by El Forum - 03-16-2014, 09:55 PM
REST controller wrong output - by El Forum - 03-18-2014, 10:53 PM
REST controller wrong output - by El Forum - 03-19-2014, 03:48 AM
REST controller wrong output - by El Forum - 03-19-2014, 07:39 AM
REST controller wrong output - by El Forum - 03-19-2014, 09:23 AM
REST controller wrong output - by El Forum - 03-19-2014, 11:11 AM
REST controller wrong output - by El Forum - 03-19-2014, 12:55 PM
REST controller wrong output - by El Forum - 03-19-2014, 01:27 PM
REST controller wrong output - by El Forum - 03-19-2014, 03:15 PM



Theme © iAndrew 2016 - Forum software by © MyBB