AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
fix(builder): testing a Basic Auth webhook from Send Sample Data now works (#16138)
Bartosz Majewski96ab7acfe130
diff --git a/packages/web/src/app/builder/test-step/custom-test-step/test-webhook-dialog.tsx b/packages/web/src/app/builder/test-step/custom-test-step/test-webhook-dialog.tsxindex c75dc101443..14cc6f39db9 100644--- a/packages/web/src/app/builder/test-step/custom-test-step/test-webhook-dialog.tsx+++ b/packages/web/src/app/builder/test-step/custom-test-step/test-webhook-dialog.tsx@@ -1,5 +1,6 @@import { FlowAction, ApFlagId, FlowTrigger } from '@activepieces/shared';import { useMutation } from '@tanstack/react-query';+import axios from 'axios';import { t } from 'i18next';import { useState } from 'react';import { ControllerRenderProps, useForm } from 'react-hook-form';@@ -21,7 +22,6 @@ import { Form, FormField, FormItem, FormLabel } from '@/components/ui/form';import { Input } from '@/components/ui/input';import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs';import { flagsHooks } from '@/hooks/flags-hooks';-import { api } from '@/lib/api';import { useBuilderStateContext } from '../../builder-hooks';@@ -104,7 +104,8 @@ const TestTriggerWebhookDialog = ({mutationFn: async (data: z.infer<typeof WebhookRequest>) => {setIsLoading(true);- await api.any(`${webhookPrefixUrl}/${flowId}/test`, {+ await axios({+ url: `${webhookPrefixUrl}/${flowId}/test`,method: data.method,data: data.body,headers: data.headers,