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
43 lines • 1.21 kB
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.HttpBinApi = void 0;
class HttpBinApi {
constructor() {
this.name = 'httpbinApi';
this.displayName = 'HttpBin API';
this.documentationUrl = '<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
;