Angular 2 SystemJS配置似乎在找到RxJS时的文件夹。如何使用CloseableHttpClient client = HttpClients.createDefault();
JSONObject requestData = new JSONObject();
requestData.put("receipt-data", recept);
requestData.put("password", password);
HttpPost httpPost = new HttpPost("https://sandbox.itunes.apple.com/verifyReceipt");
StringEntity entity = new StringEntity(requestData.toString());
httpPost.setEntity(entity);
httpPost.setHeader("Content-type", "application/x-www-form-urlencoded");
CloseableHttpResponse response = client.execute(httpPost);
BufferedReader rd = new BufferedReader(new InputStreamReader(response.getEntity().getContent()));
StringBuffer result = new StringBuffer();
String line = "";
while ((line = rd.readLine()) != null) {
result.append(line);
}
System.out.println(result.toString());
response.close();
?无论我在配置中尝试Rx.min.js
值,我都无法弄明白:
'rxjs'