I need to make a request to box.com to upload a file with GuzzleHttp 6.
The request in cURL is:
curl https://upload.box.com/api/2.0/files/content
-H "Authorization: Bearer ACCESS_TOKEN"
-X POST
-F attributes='{"name":"tigers.jpeg", "parent":{"id":"11446498"}}
-F file=@myfile.jpg
See https://developer.box.com/reference#upload-a-file for reference.
Also in my case I do not have file but a file content.