LogoLogo
Dashboard
  • ๐Ÿ’พIntroduction
  • ๐Ÿš€Getting started
  • ๐Ÿ”ŒConnections
  • ๐Ÿ”‘Authentication and API Keys
  • ๐Ÿ› ๏ธTransformers
  • API Docs
    • append
    • exists
    • list
    • mkdir
    • ping
    • read
    • rmdir
    • unlink
    • stat
    • write
Powered by GitBook
On this page
  1. API Docs

read

PreviouspingNextrmdir

Last updated 1 year ago

Reads the contents of a file.

get

Read the contents of a file

Authorizations
Path parameters
connectionSlugstringRequired
Query parameters
pathstringRequired
transformerstring ยท enumOptionalPossible values:
Responses
200
The file was read
application/json
Responseone of
or
400
The request was malformed
get
GET /{connectionSlug}/read HTTP/1.1
Host: api.sftpoverhttp.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "read": "binary"
}