Support the ongoing development of Laravel.io →
Requests Input Testing
Last updated 2 years ago.
0

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');
Last updated 2 years ago.
0

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.

Last updated 2 years ago.
0

It doesn't appear to work for me either, did you get anywhere with this?

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Binoop binoop Joined 12 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.