Search code examples
phpcurlrequestbehatguzzle

Convert cURL request to Guzzle request


I am trying to convert existing cURL request to Guzzle 6. The code for curl request is like this (wrote with sprintf function).

curl -F "uid=%s" -F "filehandle=@%s" %s 2>/dev/null

How can I convert this request to Guzzle approach?


Solution

  • This one works for me - link.