Skip to content

Commit

Permalink
fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
thth authored May 12, 2024
1 parent 13c980f commit 7a35fae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit 7a35fae

Please sign in to comment.