想上传图片文件,后台的接口格式传参是formdata,我使用了uni.upLoadfile但返回500,并报错’Request method 'POST' not supported‘,这是为什么呢,希望大家能解答一下!(尝试了用uni.request设置header的方式,但失败了)
接口不支持post方式