Groups
Groups
Sign in
Groups
Groups
elixir-lang-talk
Conversations
About
Send feedback
Help
noob needs example of httpoison get using basic auth
1,892 views
Skip to first unread message
Bryan Webb
unread,
Mar 10, 2016, 9:29:41 PM
3/10/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to elixir-lang-talk
Just starting with elixir and chose httpoison as a rest client.
need a get sample using basic auth
Thanks
Bryan
Paulo Almeida
unread,
Mar 11, 2016, 1:08:29 AM
3/11/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to elixir-lang-talk
options = [hackney: [basic_auth: {"YOUR_USER", "YOUR_PASSWORD"}]]
HTTPoison.post(url, body, headers, options)
Reply all
Reply to author
Forward
0 new messages