From da505014285bc6f9515ffaf9f524929e8e708143 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20Abdelkader=20Mart=C3=ADnez=20P=C3=A9rez?= Date: Thu, 13 Feb 2020 12:25:17 +0100 Subject: [PATCH] Proper form file upload. https://medium.com/@petehouston/upload-files-with-curl-93064dcccc76 --- docs/source/concepts/resource_tree.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/concepts/resource_tree.rst b/docs/source/concepts/resource_tree.rst index 118f50b..50dd3e1 100644 --- a/docs/source/concepts/resource_tree.rst +++ b/docs/source/concepts/resource_tree.rst @@ -273,7 +273,7 @@ If the user runs: .. code-block:: console - $ curl -F -d myfile=@filename.txt http://kapow.example:8080/ + $ curl -F 'myfile=@filename.txt' http://kapow.example:8080/ then, when handling the request: @@ -301,7 +301,7 @@ If the user runs: .. code-block:: console - $ curl -F -d myfile=@filename.txt http://kapow.example:8080/ + $ curl -F 'myfile=@filename.txt' http://kapow.example:8080/ then, when handling the request: