nodejs-koa-blog icon indicating copy to clipboard operation
nodejs-koa-blog copied to clipboard

apipost调试接口

Open esssios opened this issue 4 years ago • 1 comments

使用apipost调试接口的兄弟们,在调试注册管理员的接口时,apipost好像会默认设置我们请求头中的Content-Type为multipart/form-data,发送请求后会报400,只要把请求头中的Content-Type设为application/x-www-form-urlencoded就好了 改前 Snipaste_2021-10-11_16-10-17 改后 Snipaste_2021-10-11_16-11-12

esssios avatar Oct 11 '21 08:10 esssios

谢谢,我用的apipost

hkduan2004 avatar Jan 15 '22 03:01 hkduan2004