【Web前端】前端http请求库axios的使用

axios是一个用于发起http请求的js库,支持Promise。

axios是开源的,功能强大、使用方便的特点使得它非常流行,在github拥有近10万个star。

本文将带你快速上手axios

目录

安装axios

Package Maneger

CDN

导入

发起get请求

发起post请求


猜你喜欢

转载自blog.csdn.net/Dawson_Ho/article/details/128475738