84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
微信开发
基于RESTful API的方式,在进行PUT DELETE请求时发现浏览器不支持这两个请求,于是在safari上测试,在Android自带的系统浏览器上面测试,和winPhone上测试发现均不支持这两个请求方式,请问在移动网页开发的时候如何处理基于RESTful API的PUT DELETE请求?
$.ajax({ url: "http://localhost:10320/api/Person/4", type: "POST", data: JSON.stringify(whatever), headers: { "Content-Type": "application/json", "X-HTTP-Method-Override": "PUT" }, //PUT,DELETE })