UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

34 lines 890 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PostmarkApi = void 0; class PostmarkApi { name = 'postmarkApi'; displayName = 'Postmark API'; documentationUrl = 'postmark'; properties = [ { displayName: 'Server API Token', name: 'serverToken', type: 'string', typeOptions: { password: true }, default: '', }, ]; authenticate = { type: 'generic', properties: { headers: { 'X-Postmark-Server-Token': '={{$credentials.serverToken}}', }, }, }; test = { request: { baseURL: 'https://api.postmarkapp.com', url: '/server', method: 'GET', }, }; } exports.PostmarkApi = PostmarkApi; //# sourceMappingURL=PostmarkApi.credentials.js.map