public class Request extends Object
| Constructor and Description |
|---|
Request() |
| Modifier and Type | Method and Description |
|---|---|
static String |
constructAPIUrl(String url,
String orgid,
String userId,
String productId,
String activityId,
String attemptId,
String questionId) |
static org.json.simple.JSONObject |
makeHTTPPOSTRequest(String hostname,
String path,
org.json.simple.JSONObject obj) |
public static org.json.simple.JSONObject makeHTTPPOSTRequest(String hostname, String path, org.json.simple.JSONObject obj) throws UnknownHostException, IOException, org.apache.http.HttpException, org.json.simple.parser.ParseException
UnknownHostExceptionIOExceptionorg.apache.http.HttpExceptionorg.json.simple.parser.ParseExceptionCopyright © 2016. All rights reserved.