如何使用application/x-www-form-urlencoded内容类型发布项目列表?public class Person { private String name; // getter/setter...这是我的rest服务定义:@Path("/persons")
@Consumes(MediaTy
如果我以这种方式使用POST请求(将参数添加到URL),一切都会正常工作,并且注释将与数据一起添加。] POST request sent to "' + route + '"');}, function (err) { d.reject(err);但是,如果我以这种方式使用$http.get的"data“参数(根据文档
我刚开始使用REST服务,我使用apigee.com测试REST服务的GET和POST请求。"message": "Content-Type header specified in HTTP request is not supported: application/x-www-form-urlencoded