n8n-nodes-quipu
Version:
Quipu integration for n8n - invoice and taxes software for freelancers and companies
55 lines • 1.78 kB
JavaScript
;
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