Listing Msg_type in http request with binary

You have to use the header authentication. And then you set it up like the image below:

Sadly the HTTP node has a limitation when using multipart-formdata. You can either send binary data or key-value pairs, which is what you need to do. We are well aware of this limitation and will address it in the next version of the node. In the meantime you can do is to do the request from a function node. The function node should be similar to the one below.

const request = require('request-promise-native');

const binaryData = items[0].binary.data;

const metadata = {
  name: binaryData.fileName,
  parent: { id: 123 }
}

const options = {
  uri: 'https://internal.users.n8n.cloud/webhook-test/2/webhook/webhook',
  headers: {
    'content-type': 'multipart/form-data',
  },
  formData: {
    file: {
      value: Buffer.from(binaryData.data, 'base64'),
      options: {
	    filename: binaryData.fileName,
	    contentType: binaryData.mimeType,
	  },
 	},
    attributes: JSON.stringify(metadata),
  },
  method: 'POST',
}

await request(options);

return [{ json: {} }]