diff --git a/build/docs/02-html.md b/build/docs/02-html.md index 2ae291f1..b8d37ad4 100644 --- a/build/docs/02-html.md +++ b/build/docs/02-html.md @@ -32,7 +32,7 @@ For instance: $ curl --request POST \ --url http://localhost:3000/convert/html \ --header 'Content-Type: multipart/form-data' \ - --form files=@index.html + --form files=@index.html \ > result.pdf ``` @@ -106,9 +106,9 @@ The following classes allow you to inject printing values: $ curl --request POST \ --url http://localhost:3000/convert/html \ --header 'Content-Type: multipart/form-data' \ - --form files=@index.html - --form files=@header.html - --form files=@footer.html + --form files=@index.html \ + --form files=@header.html \ + --form files=@footer.html \ > result.pdf ``` @@ -199,10 +199,10 @@ You may also use *remote* paths for Google fonts, images and so on. $ curl --request POST \ --url http://localhost:3000/convert/html \ --header 'Content-Type: multipart/form-data' \ - --form files=@index.html - --form files=@style.css - --form files=@img.png - --form files=@font.woff + --form files=@index.html \ + --form files=@style.css \ + --form files=@img.png \ + --form files=@font.woff \ > result.pdf ``` @@ -261,14 +261,14 @@ By default, it will be rendered with `A4` size, `1 inch` margins and `portrait` $ curl --request POST \ --url http://localhost:3000/convert/html \ --header 'Content-Type: multipart/form-data' \ - --form files=@index.html - --form paperWidth=8.27 - --form paperHeight=11.27 - --form marginTop=0 - --form marginBottom=0 - --form marginLeft=0 - --form marginRight=0 - --form landscape=true + --form files=@index.html \ + --form paperWidth=8.27 \ + --form paperHeight=11.27 \ + --form marginTop=0 \ + --form marginBottom=0 \ + --form marginLeft=0 \ + --form marginRight=0 \ + --form landscape=true \ > result.pdf ``` diff --git a/build/docs/03-markdown.md b/build/docs/03-markdown.md index 5ee11b39..2953026a 100644 --- a/build/docs/03-markdown.md +++ b/build/docs/03-markdown.md @@ -34,8 +34,8 @@ For instance: $ curl --request POST \ --url http://localhost:3000/convert/markdown \ --header 'Content-Type: multipart/form-data' \ - --form files=@index.html - --form files=@file.md + --form files=@index.html \ + --form files=@file.md \ > result.pdf ``` diff --git a/build/docs/04-office.md b/build/docs/04-office.md index 29324ecc..4c630b21 100644 --- a/build/docs/04-office.md +++ b/build/docs/04-office.md @@ -32,8 +32,8 @@ All files will be merged into a single resulting PDF. $ curl --request POST \ --url http://localhost:3000/convert/office \ --header 'Content-Type: multipart/form-data' \ - --form files=@document.docx - --form files=@document2.docx + --form files=@document.docx \ + --form files=@document2.docx \ > result.pdf ``` diff --git a/build/docs/05-merge.md b/build/docs/05-merge.md index 3f1bb677..43de973b 100644 --- a/build/docs/05-merge.md +++ b/build/docs/05-merge.md @@ -17,8 +17,8 @@ will merge them and return the resulting PDF file. $ curl --request POST \ --url http://localhost:3000/merge \ --header 'Content-Type: multipart/form-data' \ - --form files=@file.pdf - --form files=@file2.pdf + --form files=@file.pdf \ + --form files=@file2.pdf \ > result.pdf ``` diff --git a/build/docs/06-webhook.md b/build/docs/06-webhook.md index c41f2ca2..6b1e1380 100644 --- a/build/docs/06-webhook.md +++ b/build/docs/06-webhook.md @@ -17,7 +17,7 @@ By doing so, your requests to the API will be over before the conversions are ac $ curl --request POST \ --url http://localhost:3000/convert/html \ --header 'Content-Type: multipart/form-data' \ - --form files=@index.html + --form files=@index.html \ --form webhookURL='http://myapp.com/webhook/' ``` diff --git a/docs/index.html b/docs/index.html index 65238887..34fd700f 100755 --- a/docs/index.html +++ b/docs/index.html @@ -175,8 +175,8 @@ which will be converted to PDF.

$ curl --request POST \
     --url http://localhost:3000/convert/html \
     --header 'Content-Type: multipart/form-data' \
-    --form files=@index.html
-    > result.pdf
+    --form files=@index.html \
+    > result.pdf
 

fonts section.

$ curl --request POST \
     --url http://localhost:3000/convert/html \
     --header 'Content-Type: multipart/form-data' \
-    --form files=@index.html
-    --form files=@style.css
-    --form files=@img.png
-    --form files=@font.woff
-    > result.pdf
+    --form files=@index.html \
+    --form files=@style.css \
+    --form files=@img.png \
+    --form files=@font.woff \
+    > result.pdf
 

scalability section to find how to mitigate t
$ curl --request POST \
     --url http://localhost:3000/convert/office \
     --header 'Content-Type: multipart/form-data' \
-    --form files=@document.docx
-    --form files=@document2.docx
-    > result.pdf
+    --form files=@document.docx \
+    --form files=@document2.docx \
+    > result.pdf