Skip to content

Commit 4620fbd

Browse files
committed
update readme
1 parent a28b324 commit 4620fbd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# chrome-print
22

33
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.
4+
HTML file, specify width and height, get a PDF back.
55

66
## Run
77

@@ -18,11 +18,11 @@ port=`docker ps |grep chromeprint_print |sed 's/.*:\([0-9]*\)-.*/\1/'`
1818
# send the request
1919
curl \
2020
21-
-F "width=800" \
22-
-F "height=1200" \
21+
-F "width=8.5" \
22+
-F "height=11" \
2323
-X POST \
2424
-H "Content-Type: multipart/form-data" \
25-
-o test.png \
25+
-o test.pdf \
2626
http://localhost:$port/
2727
```
2828

0 commit comments

Comments
 (0)