Sending Http Requests with Phoenix/Elixir

I want to POST some data from the server in phoenix like you would do using curl or wget.

Does phoenix have a built in way of doing this or what would the best way of doing this be?

Thanks in advance

Have a look at HTTPoison.

4 Likes

To elaborate a bit, Phoenix is really just an HTTP server framework, it doesn’t handle or otherwise concern itself at all with HTTP client functionality. The previously linked HTTPoison is a good example of the latter.

1 Like