Example #1
0
 public ReadableResponse signedCustomRequest(
     String httpMethod, String request, Map<String, String> bodyParams)
     throws NotAuthentifiedException {
   if (!isAuthentified()) throw new NotAuthentifiedException(NETWORK);
   Request requestObj = new Request(Utils.getScribeVerb(httpMethod), request);
   Utils.addBodyParams(requestObj, bodyParams);
   return new ScribeResponseWrapper(requestObj.send());
 }