title: Disable SSL in Axios
body: <p>is there an easy way to disable SSL validation in Axios. I tried this <code>process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';</code> but it doesn't work.</p>
  
  <p>Here's an example of my code"</p>
  
  <pre><code>const postPosts = () =&gt; {
    axios
      .post("https://xxx.dev.lab", {
        Username: "xxx",
        Password: "xxx"
      })
      .then(response =&gt; {
        console.log(response);
      })
      .catch(error =&gt; {
        console.error(error);
      });
  };
  postPosts();
  </code></pre>