API generator from curl request to HTTPBase
If available in Hex, the package can be installed as:
-
Add curl_2_poison to your list of dependencies in
mix.exs
:def deps do [{:curl2httpoison, "~> 0.2.6"}] end
-
Run the generator with
mix curl2httpoison.gen.module inputfile.ex outputfile.ex [--force]