jquery ajax 提交json 415错误解决办法
摘要:
$.ajax({ type: "post", dataType: "json", url: "自己的接口路径", contentType: "application/json;charset=UTF-8",//指定消息请求类型 data: JSON.stringify(json),//将js对象转成 阅读全文
posted @ 2021-10-15 15:06 迷途行者 阅读(275) 评论(0) 推荐(0) 编辑