From 3418858cb7d84ba23f09e5be486703e731ad29cf Mon Sep 17 00:00:00 2001 From: Nicolas Date: Mon, 15 Apr 2024 17:26:47 -0400 Subject: [PATCH] Nick: revoked --- apps/api/.env.local | 7 ++++++- apps/api/requests.http | 18 +++++++++--------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/apps/api/.env.local b/apps/api/.env.local index 2b1aca8c..301c64b1 100644 --- a/apps/api/.env.local +++ b/apps/api/.env.local @@ -1,8 +1,13 @@ +NUM_WORKERS_PER_QUEUE=8 PORT= HOST= SUPABASE_ANON_TOKEN= SUPABASE_URL= SUPABASE_SERVICE_TOKEN= REDIS_URL= -OPENAI_API_KEY= SCRAPING_BEE_API_KEY= +OPENAI_API_KEY= +BULL_AUTH_KEY= +LOGTAIL_KEY= +PLAYWRIGHT_MICROSERVICE_URL= + diff --git a/apps/api/requests.http b/apps/api/requests.http index 0153fff7..09012d11 100644 --- a/apps/api/requests.http +++ b/apps/api/requests.http @@ -2,7 +2,7 @@ ### Crawl Website POST http://localhost:3002/v0/crawl HTTP/1.1 -Authorization: Bearer 1b5b20e4-3417-4298-b1b2-983920e1b74d +Authorization: Bearer { "url":"https://docs.mendable.ai" @@ -15,39 +15,39 @@ GET http://localhost:3002/v0/jobs/active HTTP/1.1 ### Scrape Website POST https://api.firecrawl.dev/v0/scrape HTTP/1.1 -Authorization: Bearer 1b5b20e4-3417-4298-b1b2-983920e1b74d +Authorization: Bearer content-type: application/json { - "url":"https://www.agentops.ai" + "url":"https://www.mendable.ai" } ### Scrape Website POST http://localhost:3002/v0/scrape HTTP/1.1 -Authorization: Bearer 1b5b20e4-3417-4298-b1b2-983920e1b74d +Authorization: Bearer content-type: application/json { - "url":"https://www.agentops.ai" + "url":"https://mendable.ai" } ### Check Job Status GET http://localhost:3002/v0/crawl/status/333ab225-dc3e-418b-9d4b-8fb833cbaf89 HTTP/1.1 -Authorization: Bearer 1b5b20e4-3417-4298-b1b2-983920e1b74d +Authorization: Bearer ### Get Job Result POST https://api.firecrawl.dev/v0/crawl HTTP/1.1 -Authorization: Bearer 30c90634-8377-4446-9ef9-a280b9be1702 +Authorization: Bearer content-type: application/json { - "url":"https://markprompt.com" + "url":"https://mendable.ai" } ### Check Job Status GET https://api.firecrawl.dev/v0/crawl/status/cfcb71ac-23a3-4da5-bd85-d4e58b871d66 -Authorization: Bearer 30c90634-8377-4446-9ef9-a280b9be1702 \ No newline at end of file +Authorization: Bearer \ No newline at end of file