code: @Deprecated
      public Future<Response> generateRequest(String requestType, boolean secure, String endPoint, String data, String type, String codeBase64) throws Exception {
          return generateRequest(requestType, false, null, null, endPoint, data, type, "");
      }
docs: Generates the request based on the type of request, the end point, the data and type passed
  
  @param requestType type of request to be sent
  @param secure      type of protocol
  @param endPoint    end point to sent the request to
  @param data        to be sent for PUT/POST requests
  @param type        type of data to be sent (json|string)
  @throws Exception exception