title: Then is not a function on axios async/await post request
body: <p>I am registering user via a <code>POST</code> request.</p>
  
  <p>To do this, I am using axios with async/await! However, I am getting <code>register.then is not a function</code> error. Please help me out.</p>
  
  <pre><code>async sendUserData() {
    try {
      const register = await axios.post('/register', {
        email: this.register.email.trim(),
        password: this.register.password.trim(),
      });
      register.then(
        response =&gt; {
          console.log(response);
        }
      );
    } catch (e) {
      console.log(e);
    }
  }
  </code></pre>