public class MoHttpUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTENT_TYPE_JSON |
| Constructor and Description |
|---|
MoHttpUtils() |
| Modifier and Type | Method and Description |
|---|---|
static HashMap<String,String> |
getAuthorizationHeaders(Long customerId,
String apiKey) |
static String |
sendGetRequest(String url,
HashMap headers) |
static String |
sendPostRequest(String url,
String data,
String contentType,
HashMap headers) |
Copyright © 2016–2021. All rights reserved.