get方式
<script>
const {data:res} = await axios.get("http://url")
console.log(res)
</script>
post方式
const {data:res} = await axios.post("http://url",{name:111,age:20})
console.log(res)
get方式
<script>
const {data:res} = await axios.get("http://url")
console.log(res)
</script>
post方式
const {data:res} = await axios.post("http://url",{name:111,age:20})
console.log(res)