From 7a35faec3187652f0493f1f40304f332b126aca5 Mon Sep 17 00:00:00 2001 From: Thth Date: Sun, 12 May 2024 12:19:21 -0700 Subject: [PATCH] fix syntax --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8fd596e..9d13ea8 100644 --- a/README.md +++ b/README.md @@ -303,7 +303,7 @@ HTTPoison.request( :post, "https://myurl.com", {:multipart, - [{"file", binary_file_content, {"form-data", [name: "file", filename: "a_file_name.txt"]}, []}]}, + [{:file, binary_file_content, {"form-data", [name: "file", filename: "a_file_name.txt"]}, []}]}, headers, options )