Drop approved AP file at SFTP path
curl --request POST \
--url sftp://sftp.tangoanalytics.com/outbound/ap \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: text/plain' \
--data '<string>'const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'text/plain'},
body: '<string>'
};
fetch('sftp://sftp.tangoanalytics.com/outbound/ap', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "sftp://sftp.tangoanalytics.com/outbound/ap"
payload = "<string>"
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "text/plain"
}
response = requests.post(url, data=payload, headers=headers)
print(response.text)AP Outbound File
Drop approved AP file at SFTP path
POST
/
outbound
/
ap
Drop approved AP file at SFTP path
curl --request POST \
--url sftp://sftp.tangoanalytics.com/outbound/ap \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: text/plain' \
--data '<string>'const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'text/plain'},
body: '<string>'
};
fetch('sftp://sftp.tangoanalytics.com/outbound/ap', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "sftp://sftp.tangoanalytics.com/outbound/ap"
payload = "<string>"
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "text/plain"
}
response = requests.post(url, data=payload, headers=headers)
print(response.text)Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
text/plain
The body is of type file.
Response
200
File delivered.

