You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
628 B
22 lines
628 B
!http GET 192.168.1.101:3148/workspace > workspace.json |
|
|
|
!http GET 192.168.1.101:3148/sessions |
|
|
|
!http POST 192.168.1.101:3148/content url=https://example.com/ > test.html |
|
|
|
!http POST 192.168.1.101:3148/pdf url=https://example.com/ > image.pdf |
|
|
|
!http POST 192.168.1.101:3148/scrape url=https://example.com/ elements:='[{"selector": "h1"}]' > scrape.json |
|
|
|
!http POST 192.168.1.101:3148/stats url=https://example.com/ > stats.json |
|
|
|
print(r.json) |
|
"debug": { |
|
"screenshot": true, |
|
"console": true, |
|
"network": true, |
|
"cookies": true, |
|
"html": true |
|
} |
|
|
|
!http POST 192.168.1.101:3148/screenshot url=https://example.com/ > image.jpg |