참고소스 수정본
This commit is contained in:
58
참고/firecrawl-main/apps/api/requests/v2/scrape.requests.http
Normal file
58
참고/firecrawl-main/apps/api/requests/v2/scrape.requests.http
Normal file
@@ -0,0 +1,58 @@
|
||||
# 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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user