Skip to content

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

496 B
Raw Blame
import { HttpMethod, httpClient } from '@activepieces/pieces-common';

export const MEETGEEKAI_BASE_URL = 'https://api.meetgeek.ai/v1';

export async function makeRequest(
  api_key: string,
  method: HttpMethod,
  url: string,
  body?: any
) {
  const response = await httpClient.sendRequest({
    method,
    url: `${MEETGEEKAI_BASE_URL}${url}`,
    headers: {
      'Content-Type': 'application/json',
      Authorization: `Bearer ${api_key}`,
    },
    body,
  });
  return response.body;
}