Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
Closed
Description
Symfony version(s) affected
6.4.19
Description
Hi, I've this piece of code:
$response =$this->client->request(Request::METHOD_POST,$this->url, ['headers' => ['Content-Type' =>'application/json','Authorization' =>'Bearer'.$token, ],'body' => [], ]);
Before 6.4.19 it was working. Now I see an error from the remote API that body is not sent.
I think it's related to#59763
How to reproduce
Update to 6.4.19, call a URL using POST and empty body
Possible Solution
No response
Additional Context
No response