Spaces:
Sleeping
Sleeping
File size: 1,105 Bytes
097eaf0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | # Pick your baseUrl here:
@baseUrl = http://localhost:3002
# @baseUrl = https://api.firecrawl.dev
### Summary
POST {{baseUrl}}/v2/scrape HTTP/1.1
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
}
}
|