![]() $headers1 = array('Authorization: Bearer '. $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE) 'Content-Type: application/octet-stream',Ĭurl_setopt($ch, CURLOPT_HTTPHEADER, $headers) Ĭurl_setopt($ch, CURLOPT_POSTFIELDS, '') Ĭurl_setopt($ch, CURLOPT_RETURNTRANSFER, true) Ĭurl_setopt($ch, CURLOPT_VERBOSE, 1) // debug $headers = array('Authorization: Bearer '. ![]() I have written the code but I am getting an error that is status_code = 413(request entity too large). I want to upload the larger file to Dropbox using PHP curl in APIv2.
0 Comments
Leave a Reply. |