Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[10.x] Add
withQueryParameters
to the HTTP client (#47297)
* Add `withQueryParameters` to the HTTP client Some APIs require some query parameters to be always set. For example auth token (even though this isn't a great practice). With this new helper, we can create a macro with the query parameter always set. * Add more tests for `withQueryParameters` with arrays See laravel/framework#47297 (comment) * formatting --------- Co-authored-by: Taylor Otwell <taylor@laravel.com>
- Loading branch information