예제 #1
0
  private Http signHttpRequest() {

    try {
      request.signRequest(
          duoAllIKeys.getAdminikeys().getIkey(), duoAllIKeys.getAdminikeys().getSkey());

    } catch (Exception e) {
    }

    return request;
  }
예제 #2
0
  private Http genHttpRequest(String getOrPost, String apiURL) {
    request = null;
    try {
      request = new Http(getOrPost, duoAllIKeys.getAdminikeys().getHostkey(), apiURL);

    } catch (Exception e) {
    }

    return request;
  }