Spaces:
Sleeping
Sleeping
Download apps/api/requests/v2/crawl.requests.http from s-eto-hub/firecrawl-api: direct link, hf CLI and curl.
- Browser
- Download file 1.22 kB
-
https://huggingface.co/spaces/s-eto-hub/firecrawl-api/resolve/main/apps/api/requests/v2/crawl.requests.http
- Command line
-
hf download hf://spaces/s-eto-hub/firecrawl-api/apps/api/requests/v2/crawl.requests.http
-
curl -L -o crawl.requests.http https://huggingface.co/spaces/s-eto-hub/firecrawl-api/resolve/main/apps/api/requests/v2/crawl.requests.http
1.22 kB
| # Pick your baseUrl here: | |
| @baseUrl = http://localhost:3002 | |
| # @baseUrl = https://api.firecrawl.dev | |
| ### Crawl | |
| # @name crawl | |
| POST {{baseUrl}}/v2/crawl | |
| Authorization: Bearer {{$dotenv TEST_API_KEY}} | |
| content-type: application/json | |
| { | |
| "url": "https://firecrawl.dev", | |
| "prompt": "only get me the blog posts" | |
| } | |
| POST {{baseUrl}}/v2/crawl/params-preview HTTP/1.1 | |
| Authorization: Bearer {{$dotenv TEST_API_KEY}} | |
| content-type: application/json | |
| { | |
| "url": "https://firecrawl.dev", | |
| "prompt": "only get me the blog and news posts" | |
| } | |
| POST {{baseUrl}}/v2/crawl HTTP/1.1 | |
| Authorization: Bearer {{$dotenv TEST_API_KEY}} | |
| content-type: application/json | |
| { | |
| "url": "https://firecrawl.dev", | |
| "includePaths": ["blog", "news"] | |
| } | |
| GET {{baseUrl}}/v2/crawl/active HTTP/1.1 | |
| Authorization: Bearer {{$dotenv TEST_API_KEY}} | |
| content-type: application/json |