mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
feat(core): Improvements/overhaul for nodes working with binary data (#7651)
Github issue / Community forum post (link here to close automatically): --------- Co-authored-by: Giulio Andreini <andreini@netseven.it> Co-authored-by: Marcus <marcus@n8n.io>
This commit is contained in:
@@ -247,7 +247,7 @@ export class HttpRequestV2 implements INodeType {
|
||||
description: 'Name of the property to which to write the response data',
|
||||
},
|
||||
{
|
||||
displayName: 'Binary Property',
|
||||
displayName: 'Put Output File in Field',
|
||||
name: 'dataPropertyName',
|
||||
type: 'string',
|
||||
default: 'data',
|
||||
@@ -257,7 +257,7 @@ export class HttpRequestV2 implements INodeType {
|
||||
responseFormat: ['file'],
|
||||
},
|
||||
},
|
||||
description: 'Name of the binary property to which to write the data of the read file',
|
||||
hint: 'The name of the output binary field to put the file in',
|
||||
},
|
||||
|
||||
{
|
||||
@@ -412,7 +412,7 @@ export class HttpRequestV2 implements INodeType {
|
||||
|
||||
// Body Parameter
|
||||
{
|
||||
displayName: 'Send Binary Data',
|
||||
displayName: 'Send Binary File',
|
||||
name: 'sendBinaryData',
|
||||
type: 'boolean',
|
||||
displayOptions: {
|
||||
@@ -429,7 +429,7 @@ export class HttpRequestV2 implements INodeType {
|
||||
description: 'Whether binary data should be send as body',
|
||||
},
|
||||
{
|
||||
displayName: 'Binary Property',
|
||||
displayName: 'Input Binary Field',
|
||||
name: 'binaryPropertyName',
|
||||
type: 'string',
|
||||
required: true,
|
||||
@@ -443,8 +443,9 @@ export class HttpRequestV2 implements INodeType {
|
||||
requestMethod: ['PATCH', 'POST', 'PUT'],
|
||||
},
|
||||
},
|
||||
hint: 'The name of the input binary field containing the file to be uploaded',
|
||||
description:
|
||||
'Name of the binary property which contains the data for the file to be uploaded. For Form-Data Multipart, they can be provided in the format: <code>"sendKey1:binaryProperty1,sendKey2:binaryProperty2</code>',
|
||||
'For Form-Data Multipart, they can be provided in the format: <code>"sendKey1:binaryProperty1,sendKey2:binaryProperty2</code>',
|
||||
},
|
||||
{
|
||||
displayName: 'Body Parameters',
|
||||
|
||||
Reference in New Issue
Block a user