摘要:
ajax访问服务端restful api时,由于contentType类型的原因,浏览器会先发送OPTIONS请求。 本人服务端用的是spring mvc框架,web服务器用的是tomcat的,以下给出tomcat下OPTIONS请求服务端返回403forbidden的解决方法: 修改tomcat的 阅读全文
posted @ 2017-02-14 15:19 TripleKing 阅读(9221) 评论(0) 推荐(0)
|
|||
摘要:
ajax访问服务端restful api时,由于contentType类型的原因,浏览器会先发送OPTIONS请求。 本人服务端用的是spring mvc框架,web服务器用的是tomcat的,以下给出tomcat下OPTIONS请求服务端返回403forbidden的解决方法: 修改tomcat的 阅读全文
posted @ 2017-02-14 15:19 TripleKing 阅读(9221) 评论(0) 推荐(0) |
|||