append
Append data to a file at the given path.
post
Append data to a file at the given path.
Authorizations
Path parameters
connectionSlugstringRequired
Body
one ofOptional
or
Responses
200
The file was appended to
application/json
Responseone of
or
400
The request was malformed
post
POST /{connectionSlug}/append HTTP/1.1
Host: api.sftpoverhttp.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 52
{
"path": "hello.txt",
"file": {
"text": "Hello, world!"
}
}
{
"append": true
}
Last updated