Update to support new features (#70)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { INodeType, INodeTypeDescription } from 'n8n-workflow';
|
||||
import { INodeType, INodeTypeDescription, NodeConnectionType } from 'n8n-workflow';
|
||||
import { httpVerbFields, httpVerbOperations } from './HttpVerbDescription';
|
||||
|
||||
export class HttpBin implements INodeType {
|
||||
@@ -13,8 +13,8 @@ export class HttpBin implements INodeType {
|
||||
defaults: {
|
||||
name: 'HttpBin',
|
||||
},
|
||||
inputs: ['main'],
|
||||
outputs: ['main'],
|
||||
inputs: [NodeConnectionType.Main],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
credentials: [
|
||||
{
|
||||
name: 'httpbinApi',
|
||||
|
||||
@@ -18,6 +18,7 @@ export const httpVerbOperations: INodeProperties[] = [
|
||||
name: 'GET',
|
||||
value: 'get',
|
||||
description: 'Perform a GET request',
|
||||
action: 'Perform a GET request',
|
||||
routing: {
|
||||
request: {
|
||||
method: 'GET',
|
||||
@@ -29,6 +30,7 @@ export const httpVerbOperations: INodeProperties[] = [
|
||||
name: 'DELETE',
|
||||
value: 'delete',
|
||||
description: 'Perform a DELETE request',
|
||||
action: 'Perform a DELETE request',
|
||||
routing: {
|
||||
request: {
|
||||
method: 'DELETE',
|
||||
|
||||
Reference in New Issue
Block a user