对于我正在使用Rails的项目,我正在使用AlchemyData新闻API。我正在试图在pry中运行HTTP请求,如下所示(我用替换my_api_key替换了我自己的API密钥,为了清楚起见,>指示我输入的内容和=>返回给我的内容): > uri = URI.parse("https://gateway-a.watsonplatform.net/calls/data/GetNews?apikey=
我试图用一个小型的Java程序做了要求,但我得到一个400 - 错误的请求作为应答: URI uri = new URIBuilder().setScheme("https")
.setHost("somehost.com")
.setPath("/API/v1/export").build();
HttpPost post = new HttpPost
我在Windows 2008 R2服务器上运行IIS 7.5。 The remote server returned an unexpected response: (400) Bad Request. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request. 请求未在IIS日志记录并