title: why axios post method return Promise{<pending>}?
body: <p>I want to use axios post method in reactjs in a submit function, but keep got axios return Promise{}</p>
  
  <p>I tried to put console.log in each step but no one come out. I tried to change fetch also, but got same issue.</p>
  
  <pre><code>     let product_Id = this.state.value        
      axios.post('http://localhost:8000/api/debug',{product_Id})
             .then(function(response){
               console.log("response",response)
             })
             .catch(function (error) {
               console.log("catch",error);
             })
             .finally(function(error){
               console.log("finally",error);
             })
  </code></pre>
  
  <p>I except the post can return the value from the endpoint.</p>