Hello, I am trying to upload file and json value to seatable api.
when i try with postman and webhook.site, i am getting the following screenshot.
However, when i try out with n8n and webhook.site, i am not getting file to be uploaded.
below are my last 2 node.
inside merge node, the binary file are labelled as following
I am trying to get file name data to uploaded.
below are my request-promise-native code.
const request = require('request-promise-native'); //need to reinstall n8n with variable here to use it
let address = "https://webhook.site/34135ea4-c0d1-42ab-b07c-8323a44376cc?"
let parentdir = items[0].json.parent_path
let imagePath = items[0].json.img_relative_path
const x = "Token 5d________________________0a5" //authorization key
const binaryData = items[1].binary.data; //name of file is called "data under items[1] obtained from previous node"
const metadata = {
name : binaryData.fileName,
}
const options = {
uri: address, //url to send http post
headers: {
'content-type': 'multipart/form-data',
'Authorization' : `${x}`,
},
formData: {
image: {
value: Buffer.from(binaryData.data, 'base64'),
options: {
filename: binaryData.filename,
}
}
},
method: 'POST',
}
const response = await request(options);
return [{ json: {response} }] //display respond from http request in json.




