我正在从我的Angular2站点查询一些elasticsearch服务器。为了提高安全性,我们希望将访问权限锁定为仅GET请求。Elasticsearch支持GET with a body,但是我在使用Angular2的http类时遇到了麻烦。this.http.post(SearchEndpoint, q.BuildPayload(), { method: 'GET' })
因为http.get没有body参数,所以我尝试使用<e
如何使用命令行工具curl发送到具有多个参数的WCF服务?我有一个类似如下的服务public interface IMyService [OperationContract]}var service = new WebServiceHost(typeof(MyService),
new Uri("httpcurl -d varStr