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

View File

@@ -36,7 +36,7 @@ $ curl --request POST \
--header 'Content-Type: multipart/form-data' \
--form files=@index.html \
--form files=@file.md \
> result.pdf
-o result.pdf
```
### Go

View File

@@ -36,7 +36,7 @@ $ curl --request POST \
--header 'Content-Type: multipart/form-data' \
--form files=@document.docx \
--form files=@document2.docx \
> result.pdf
-o result.pdf
```
### Go
@@ -88,7 +88,7 @@ $ curl --request POST \
--form paperWidth=8.27 \
--form paperHeight=11.27 \
--form landscape=true \
> result.pdf
-o result.pdf
```
### Go

View File

@@ -19,7 +19,7 @@ $ curl --request POST \
--header 'Content-Type: multipart/form-data' \
--form files=@file.pdf \
--form files=@file2.pdf \
> result.pdf
-o result.pdf
```
### Go