Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F9583947
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
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
Details
Attached
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)
Attached To
Mode
rNPN n8n-phabricator-node
Attached
Detach File
Event Timeline
Log In to Comment