Skip to content

Commit

Permalink
fix code snippet(headers) of Multipart in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TORIFUKUKaiou authored and edgurgel committed Apr 3, 2023
1 parent ff12b9a commit b06c7b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -292,7 +292,7 @@ can do the below:
```elixir
binary_file_content = "Something you fetched and now have it in memory"
token = "some_token_from_another_request"
headers = ["Authorization": "Bearer #{token}", {"Content-Type", "multipart/form-data"}]
headers = [{"Authorization", "Bearer #{token}"}, {"Content-Type", "multipart/form-data"}]
options = [ssl: [{:versions, [:'tlsv1.2']}], recv_timeout: 500]

HTTPoison.request(
Expand Down

0 comments on commit b06c7b4

Please sign in to comment.