docs: cURL write to a file instead of stdout (#25)

This commit is contained in:
Ben Davies
2018-12-14 08:28:18 +00:00
committed by Julien Neuhart
parent 3f7b006d16
commit d34fb92211
5 changed files with 16 additions and 16 deletions

View File

@@ -33,7 +33,7 @@ $ curl --request POST \
--url http://localhost:3000/convert/html \
--header 'Content-Type: multipart/form-data' \
--form files=@index.html \
> result.pdf
-o result.pdf
```
### Go
@@ -107,7 +107,7 @@ $ curl --request POST \
--form files=@index.html \
--form files=@header.html \
--form files=@footer.html \
> result.pdf
-o result.pdf
```
### Go
@@ -197,7 +197,7 @@ $ curl --request POST \
--form files=@style.css \
--form files=@img.png \
--form files=@font.woff \
> result.pdf
-o result.pdf
```
### Go
@@ -261,7 +261,7 @@ $ curl --request POST \
--form marginLeft=0 \
--form marginRight=0 \
--form landscape=true \
> result.pdf
-o result.pdf
```
### Go