'file'=> new CURLFile('e9c55359-96ae-3b42-2605-6288ae4f4342', 'image/jpeg', '1.jpg'
What is CURLFILE
? Is it a typo of CURLFile
or is it a custom made class ?
You may try something like this: 'image' => new CURLFile('Your_File', 'image/jpeg', 'image')
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.