UNPKG

n8n-nodes-sshv2

Version:

2 N8N ( Node & AI Agent Tool) for SSH operations Dynamically Configurable parameters NO credentials, including command execution, file uploads, and downloads by Hadidiz, HadidizFlow

55 lines 1.78 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.HttpBin = void 0; const HttpVerbDescription_1 = require("./HttpVerbDescription"); class HttpBin { constructor() { this.description = { displayName: 'HttpBin', name: 'httpBin', icon: 'file:httpbin.svg', group: ['transform'], version: 1, subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}', description: 'Interact with HttpBin API', defaults: { name: 'HttpBin', }, inputs: ['main'], outputs: ['main'], credentials: [ { name: 'httpbinApi', required: false, }, ], requestDefaults: { baseURL: 'https://httpbin.org', url: '', headers: { Accept: 'application/json', 'Content-Type': 'application/json', }, }, properties: [ { displayName: 'Resource', name: 'resource', type: 'options', noDataExpression: true, options: [ { name: 'HTTP Verb', value: 'httpVerb', }, ], default: 'httpVerb', }, ...HttpVerbDescription_1.httpVerbOperations, ...HttpVerbDescription_1.httpVerbFields, ], }; } } exports.HttpBin = HttpBin; //# sourceMappingURL=HttpBin.node.js.map