Axios post request in vue?

Boss, call for help, I post request has not written, axios post request, click on the SMS verification code, with the mobile phone number to send the request over, specific how to achieve ah, the foundation is weak, ask to post the specific code (code integrity is very important, I am a vegetable chicken)!
after getting the SMS verification code, send the password, mobile phone number, and other remarks again to complete the registration.

Mar.12,2021

here comes the answer.

const axios = require('axios')
// post
axios.post('url', {
    telephone: "17202345234" // 
  })
  .then(function (response) { // response
    console.log(response.testnumber);
    return axios.post(''{
        password: "",
        telephone: "17202345234",
        noteinfo: ""
    })
  })
  .then(function(res){
    //
    console.log("");
   })
  .catch(function (error) { // 
    console.log(error);
  });
Menu