Having trouble figuring out what is need to successfully upload a file that contains spaces in the filename and also a directory that contains spaces. I’ve tried replaces the spaces with %20 but still am getting a 400 bad request response. What is the correct cURL syntax for this?
curl -H application-id:A7B…00 -H secret-key:655…00 -H Content-Type:“multipart/form-data” -H application-type:REST --form upload=@“my file is this.txt” -X POST -v “https://api.backendless.com/v1/files/Testfiles/myfile is this.txt”
curl -H application-id:A7B…00 -H secret-key:655…00 -H Content-Type:“multipart/form-data” -H application-type:REST --form upload=@“my file is this.txt” -X POST -v “https://api.backendless.com/v1/files/Test files/myfile is this.txt”