Productsup

Upload folder content to transport

POST
/upload/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.txt"  }'
{
  "message": "File has been uploaded."
}
{
  "message": "Validation failed",
  "errors": {
    "sourceFile": "File not found."
  }
}

How is this guide?