News for hackers. Stuff that matters.
Re:Weird Languages by yawaramin on Saturday August 28, 2021 @01:55PM (#28340022)
Just curious, why not use OTP's built-in httpc? https://erlang.org/doc/man/httpc.html
Re:Weird Languages by ramchip on Saturday August 28, 2021 @11:49PM (#28343925)
Not 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_deploy...

Re:Weird Languages by olikas on Sunday August 29, 2021 @04:26AM (#28345111)
httpc 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.