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 thi
Luis Cruz is correct: quotes are required around the filename, but I needed to use the 'file' keyword, not 'fileUpload', as is it shown in the question.
curl -X GET \ -H 'Content-Type: multipart/form-data' \ -F file=@"/path/to/file.ext" \ 'http://host:port/path/to/dir'