We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a28b324 commit 4620fbdCopy full SHA for 4620fbd
README.md
@@ -1,7 +1,7 @@
1
# chrome-print
2
3
A headless chrome process with an express-based API in front of it. Upload an
4
-HTML file, specify width and height, get a png image back.
+HTML file, specify width and height, get a PDF back.
5
6
## Run
7
@@ -18,11 +18,11 @@ port=`docker ps |grep chromeprint_print |sed 's/.*:\([0-9]*\)-.*/\1/'`
18
# send the request
19
curl \
20
-F "[email protected]" \
21
- -F "width=800" \
22
- -F "height=1200" \
+ -F "width=8.5" \
+ -F "height=11" \
23
-X POST \
24
-H "Content-Type: multipart/form-data" \
25
- -o test.png \
+ -o test.pdf \
26
http://localhost:$port/
27
```
28
0 commit comments