Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

HB_BHF's avatar

How to write this cURL in Guzzle?

I have a cURL request which needs to be sent using Laravel. For that I will use Guzzle. But how can I write this cURL using Guzzle?

$ curl -X POST -F 'body={"name":"Lidl","country":"Deutschland"};type=application/json' -F 'file=@C:\Users\PROD\Downloads\617103.mp4;type= video/mp4 ' http://mydomain.test.de:8080/spots

0 likes
2 replies

Please or to participate in this conversation.