Lesson 15/17 · 8:09 min
at 07m35s: I like the idea to pass the query parameters as args and use the call() method:
$response = $this->call('GET', '/rooms/search', [ 'check_in' => now()->addDay()->format('Y-m-d'), 'check_out' => now()->addDays(2)->format('Y-m-d'), 'guests' => 2, ]);
get() helper should be extended like the post() helper to pass query parameters as an array.
at 07m35s: I like the idea to pass the query parameters as args and use the call() method:
get() helper should be extended like the post() helper to pass query parameters as an array.