axios请求方式别名
时间: 2023-08-27 16:16:56 浏览: 189
回答: axios为常用的请求方法提供了别名,包括axios.get()、axios.post()、axios.put()、axios.patch()和axios.delete()。这些别名的作用是为了简化开发者的使用过程,使发起请求变得更加方便和快捷。另外,常用的请求方法别名还包括GET、POST、PUT、PATCH和DELETE。通过使用这些别名,开发者可以更方便地执行相应的请求操作。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [axios 请求方法的别名](https://blog.csdn.net/m0_67841039/article/details/124348111)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *3* [Axios 常用的请求方法别名](https://blog.csdn.net/yyjourney/article/details/79277635)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文