public class Api extends Object
| Constructor and Description |
|---|
Api() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getVersion()
The version
|
String |
sendApiGetRequest(String apiCall,
Map<String,String> parameters)
Sends an api request and return api response
|
String |
sendApiPostRequest(String apiCall,
Map<String,String> parameters) |
public static String getVersion()
public String sendApiGetRequest(String apiCall, Map<String,String> parameters) throws IOException
apiCall - parameters - IOExceptionpublic String sendApiPostRequest(String apiCall, Map<String,String> parameters) throws IOException
IOExceptionCopyright © 2016. All rights reserved.