I am getting this error, when I am trying to call a box api through curl.
curl: (26) couldn't open file
Can't find why! I am calling this api with a correct file name-
curl https://upload.view-api.box.com/1/documents -H "Authorization: Token YOUR_API_TOKEN" -H "Content-type: multipart/form-data" -F file=@A_correct_file_name
I have seen all the three already asked questions but 2 of them are unanswered and one is specific to facebook.
cURL error 26 couldn't open file
Fatal error: Uncaught CurlException: 26: couldn't open file "" thrown in
Getting Fatal Error Uncaught CurlException: 26: couldn't open file