Send request of HTTP Request node to browser console when testing

This commit is contained in:
Jan Oberhauser
2021-06-12 20:22:55 +02:00
parent 21633b0c5a
commit 1d850da9fb
5 changed files with 17 additions and 5 deletions

View File

@@ -223,7 +223,7 @@ export interface IExecuteFunctions {
getTimezone(): string;
getWorkflow(): IWorkflowMetadata;
prepareOutputData(outputData: INodeExecutionData[], outputIndex?: number): Promise<INodeExecutionData[][]>;
sendMessageToUI(message: string): void;
sendMessageToUI(message: any): void; // tslint:disable-line:no-any
helpers: {
[key: string]: (...args: any[]) => any //tslint:disable-line:no-any
};
@@ -745,7 +745,7 @@ export interface IWorkflowExecuteAdditionalData {
httpResponse?: express.Response;
httpRequest?: express.Request;
restApiUrl: string;
sendMessageToUI?: (source: string, message: string) => void;
sendMessageToUI?: (source: string, message: any) => void; // tslint:disable-line:no-any
timezone: string;
webhookBaseUrl: string;
webhookTestBaseUrl: string;