I need send https request to server using parameters one of them is URL: I do next:
HttpClient httpClient = new DefaultHttpClient();
HttpPost httpPost = new HttpPost(APIURL);
httpPost.setHeader("Content-Type", "application/x-www-form-urlencoded");
List<NameValuePair> params = new ArrayList<NameValuePair>();
params.add(new BasicNameValuePair("url", "https://api/v1/pictureadress/id"));
...
我加入 URL 参数时出错。 但如果我加入其它参数, 除了 URL, 比如年龄, 性别等等。 我没有错误 。 我做错了吗?