feat(Webhook Node): Add notices about using the 'Content-Type' header (#17739)

This commit is contained in:
RomanDavydchuk
2025-07-29 19:23:21 +03:00
committed by GitHub
parent 724b5a51f2
commit 1c5a27d3ee
2 changed files with 26 additions and 3 deletions

View File

@@ -175,6 +175,18 @@ export class Webhook extends Node {
},
responseDataProperty,
responseBinaryPropertyNameProperty,
{
displayName:
'If you are sending back a response, add a "Content-Type" response header with the appropriate value to avoid unexpected behavior',
name: 'contentTypeNotice',
type: 'notice',
default: '',
displayOptions: {
show: {
responseMode: ['onReceived'],
},
},
},
{
...optionsProperty,