Page MenuHomeSealhub

No OneTemporary

diff --git a/nodes/HttpBin/HttpBin.credentials.ts b/credentials/HttpBin.credentials.ts
similarity index 97%
rename from nodes/HttpBin/HttpBin.credentials.ts
rename to credentials/HttpBin.credentials.ts
index b6bbab1..0b74def 100644
--- a/nodes/HttpBin/HttpBin.credentials.ts
+++ b/credentials/HttpBin.credentials.ts
@@ -1,39 +1,39 @@
import {
IAuthenticateHeaderAuth,
ICredentialTestRequest,
ICredentialType,
INodeProperties,
} from "n8n-workflow";
export class HttpBinApi implements ICredentialType {
- name = "HttpBinApi";
+ name = "httpbinApi";
displayName = "HttpBin API";
documentationUrl = "httpbin";
properties: INodeProperties[] = [
{
displayName: "API Key",
name: "apiKey",
type: "string",
default: "",
},
{
displayName: "Domain",
name: "domain",
type: "string",
default: "https://httpbin.org",
},
];
authenticate = {
type: "headerAuth",
properties: {
name: "api-key",
value: "={{$credentials.apiKey}}",
},
} as IAuthenticateHeaderAuth;
test: ICredentialTestRequest = {
request: {
baseURL: "={{$credentials?.domain}}/v3",
url: "/account",
},
};
}

File Metadata

Mime Type
text/x-diff
Expires
Sat, Oct 11, 11:13 (9 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
984269
Default Alt Text
(1 KB)

Event Timeline