Update
This commit is contained in:
35
Crawlshot API/Screenshots/Initiate Screenshot Job.bru
Normal file
35
Crawlshot API/Screenshots/Initiate Screenshot Job.bru
Normal file
@@ -0,0 +1,35 @@
|
||||
meta {
|
||||
name: Initiate Screenshot Job
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{base_url}}/api/shot
|
||||
body: json
|
||||
auth: bearer
|
||||
}
|
||||
|
||||
headers {
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
}
|
||||
|
||||
auth:bearer {
|
||||
token: {{api_token}}
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"url": "https://example.com",
|
||||
"viewport_width": 1920,
|
||||
"viewport_height": 1080,
|
||||
"format": "webp",
|
||||
"quality": 90,
|
||||
"timeout": 30,
|
||||
"delay": 2000,
|
||||
"block_ads": true,
|
||||
"block_cookie_banners": true,
|
||||
"block_trackers": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user