You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Too few arguments to function Illuminate\Http\Client\PendingRequest::withBody(), 1 passed in /vendor/laravel/framework/src/Illuminate/Http/Client/Factory.php on line 427 and exactly 2 expected
Laravel Framework 9.43.0
The text was updated successfully, but these errors were encountered:
Yeah, this is a tough one. A lot of people use data-raw when really they are just posting data. If you really want to send the JSON in the body, then add application/json as the second parameter.
I'm hoping to make this the default in Laravel 10.
Curl
Convert
ArgumentCountError
Too few arguments to function Illuminate\Http\Client\PendingRequest::withBody(), 1 passed in /vendor/laravel/framework/src/Illuminate/Http/Client/Factory.php on line 427 and exactly 2 expected
Laravel Framework 9.43.0
The text was updated successfully, but these errors were encountered: