Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

is it possible in Elixir to make a http POST request pushing some data to an external URL?

Tags:

elixir

I have an external URL (third party code) that I want to POST some data to, I don't have to wait for a response.

How would I do this in Elixir (if possible at all?)

Effectively I want to cURL some data to an external url

like image 515
TheStoneFox Avatar asked May 06 '15 10:05

TheStoneFox


2 Answers

https://github.com/myfreeweb/httpotion

looks as if it will solve my problem :) thanks google!

EDIT: also -> https://github.com/edgurgel/httpoison

like image 69
TheStoneFox Avatar answered Oct 24 '22 19:10

TheStoneFox


https://github.com/benoitc/hackney is really good. I use it a lot.

like image 31
mattias Avatar answered Oct 24 '22 18:10

mattias