关于,接口请求头**Content-Type application/x-www-form-urlencoded

关于,接口请求头Content-Type application/x-www-form-urlencoded前端如何书写
step1: 相信大家,在项目中,已经封装了,axios.js 相对应的,也封装了,get,post.put等的请求.
在 我的项目里,我的封装:在这里插入图片描述
调用接口时, 上传图片使用:在这里插入图片描述
调用接口时,非图片上传使用, URLSearchParams()在这里插入图片描述
在这里插入图片描述
仅此记录…

猜你喜欢

转载自blog.csdn.net/weixin_48557454/article/details/112596367
今日推荐