4 ms·
Just curious, why not use OTP's built-in httpc? https://erlang.org/doc/man/httpc.html https://erlang.org/doc/man/httpc.html
by yawaramin 5y ago
Just curious, why not use OTP's built-in httpc? https://erlang.org/doc/man/httpc.html https://erlang.org/doc/man/httpc.html
- ramchip 5y agoNot OP, but httpc isn't secure by default. It works fine if you hold it correctly but I wouldn't recommend it to someone really new to the language. https://erlef.github.io/security-wg/secure_coding_and_deployment_hardening/inets https://erlef.github.io/security-wg/secure_coding_and_deploy...
- olikas 5y agohttpc is good for a one off request, but it is not very up-to-date with the latest features of the web. So building application logic on top of it is not ideal.