79347211

Date: 2025-01-10 23:04:45
Score: 1
Natty:
Report link

The accepted answer didn't work for me (Laravel 11.33.2 - no-auth), but this did:

$this->get(url()->query('/path/to/api', [
    'key' => 'value',
    'search' => 'username',
]));

Here's the Laravel URL Generation docs.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Misha Voloshchuk