Erlang : Writing HTTP POST Request to external API with example

We can able to write HTTP Request in Erlang for external API callbacks. This can be achieved by calling function “httpc:request()”. This function sent HTTP request by constructing our input given in Parameter to the function.