Unable to make HTTP Post request using elixir?
<p>The code i am trying with is:-</p>

<pre><code>response = HTTPotion.post(url, [body: "{channel: \"#bot\", username: \"watson\", text: \"test\"}"])
</code></pre>

<p>The response i am getting is:-</p>

<pre><code>%HTTPotion.Response{body: "invalid_payload",......, status_code: 400}
</code></pre>