Upload folder content to transport
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://loading/upload/to-transport" \ -H "Content-Type: application/json" \ -d '{ "source_file": "/example-subdirectory/example_file.txt", "remote_file": "/remote-folder/remote_file.csv", "content_type": "text/csv", "expiry_days": 30, "skip_if_unchanged": true }'{
"message": "File has been uploaded.",
"data": {
"key": "e99bb33727d33837fd1e/remote-folder/remote_file.csv",
"path": "https://transport.productsup.io/e99bb33727d33837fd1e/remote-folder/remote_file.csv",
"unchanged": false
}
}{
"message": "Validation failed",
"errors": {
"remoteFile": "Filename contains disallowed character: \"|\"."
}
}How is this guide?