mirror of
https://github.com/derfenix/webarchive.git
synced 2026-03-11 12:41:54 +03:00
Use query params too for page adding handler
This commit is contained in:
10
README.md
10
README.md
@@ -23,11 +23,19 @@ curl -X POST --location "http://localhost:5001/pages" \
|
||||
-d "{
|
||||
\"url\": \"https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1937\",
|
||||
\"formats\": [
|
||||
\"all\"
|
||||
\"pdf\",
|
||||
\"headers\"
|
||||
]
|
||||
}" | jq .
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```shell
|
||||
curl -X POST --location \
|
||||
"http://localhost:5001/pages?url=https%3A%2F%2Fgithub.com%2Fwkhtmltopdf%2Fwkhtmltopdf%2Fissues%2F1937&formats=pdf%2Cheaders&description=Foo+Bar"
|
||||
```
|
||||
|
||||
#### 3. Get the page's info
|
||||
|
||||
```shell
|
||||
|
||||
Reference in New Issue
Block a user