如何解决native-vue axios no-referrer-when-downgrade 错误
我使用 native-vue 作为前端移动应用程序,使用 axios 将一些信息发布到远程服务器。我正在向服务器发送参数,并在控制台中收到如下响应: -状态代码:500 内部服务器错误 -推荐人政策:降级时不推荐人
这是 axios 帖子:
async submit(){
const response = await axios({method:'POST',"url":"server-domain/v1/Signin"},{
email : this.email,password : this.password,fcm: this.fcm,devicemodel: this.devicemodel,deviceBrand: this.deviceBrand,deviceName: this.deviceName,deviceID: this.deviceID
}).catch(err => console.log(err));
console.log(response)
},
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。