UNPKG

n8n-nodes-unleashed

Version:

n8n community node to integrate with Unleashed inventory management API

43 lines 1.22 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.HttpBinApi = void 0; class HttpBinApi { constructor() { this.name = 'httpbinApi'; this.displayName = 'HttpBin API'; this.documentationUrl = 'https://your-docs-url'; this.properties = [ { displayName: 'Token', name: 'token', type: 'string', default: '', typeOptions: { password: true, } }, { displayName: 'Domain', name: 'domain', type: 'string', default: 'https://httpbin.org', }, ]; this.authenticate = { type: 'generic', properties: { headers: { Authorization: '={{"Bearer " + $credentials.token}}', }, }, }; this.test = { request: { baseURL: '={{$credentials?.domain}}', url: '/bearer', }, }; } } exports.HttpBinApi = HttpBinApi; //# sourceMappingURL=HttpBinApi.credentials.js.map