I don't think GET excepts parameters. Use a query string instead.
$response =$this->call('GET','/shop/add-inventory-item-to-truck/0?id=1&name=tv&qty=4');
This answer doesn't seem to work, any other idea?
I've tried both: $response = $this->call('GET', $this->uri . '/' . $userId . '?include=wallet');
and
$response = $this->call('GET', $this->uri . '/' . $userId, array('include' => 'wallet'));
But none works, that is, both ignore the parameters.
Any ideas?
Thanks in advance.
It doesn't appear to work for me either, did you get anywhere with this?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community