Spaces:
Sleeping
Sleeping
Download apps/api/requests/v2/scrape.requests.http from s-eto-hub/firecrawl-api: direct link, hf CLI and curl.
- Browser
- Download file 1.11 kB
-
https://huggingface.co/spaces/s-eto-hub/firecrawl-api/resolve/main/apps/api/requests/v2/scrape.requests.http
- Command line
-
hf download hf://spaces/s-eto-hub/firecrawl-api/apps/api/requests/v2/scrape.requests.http
-
curl -L -o scrape.requests.http https://huggingface.co/spaces/s-eto-hub/firecrawl-api/resolve/main/apps/api/requests/v2/scrape.requests.http
1.11 kB
| # Pick your baseUrl here: | |
| @baseUrl = http://localhost:3002 | |
| # @baseUrl = https://api.firecrawl.dev | |
| ### Summary | |
| POST {{baseUrl}}/v2/scrape | |
| Authorization: Bearer {{$dotenv TEST_API_KEY}} | |
| content-type: application/json | |
| { | |
| "url": "https://docs.firecrawl.dev", | |
| "formats": ["summary"] | |
| } | |
| ### JSON | |
| POST {{baseUrl}}/v2/scrape HTTP/1.1 | |
| Authorization: Bearer {{$dotenv TEST_API_KEY}} | |
| content-type: application/json | |
| { | |
| "url": "https://docs.firecrawl.dev", | |
| "formats": [{ | |
| "type": "json", | |
| "schema": { | |
| "type": "object", | |
| "properties": { | |
| "name": { | |
| "type": "string" | |
| } | |
| } | |
| } | |
| }] | |
| } | |
| ### Change Tracking | |
| POST {{baseUrl}}/v2/scrape HTTP/1.1 | |
| Authorization: Bearer {{$dotenv TEST_API_KEY}} | |
| content-type: application/json | |
| { | |
| "url": "https://docs.firecrawl.dev", | |
| "formats": [{ | |
| "type": "changeTracking", | |
| "modes": ["git-diff"] | |
| }] | |
| } | |
| ### Parsers | |
| POST {{baseUrl}}/v2/scrape HTTP/1.1 | |
| Authorization: Bearer {{$dotenv TEST_API_KEY}} | |
| content-type: application/json | |
| { | |
| "url": "https://www.orimi.com/pdf-test.pdf", | |
| "parsers": { | |
| "pdf": false | |
| } | |
| } | |