public class EcLevrHttp extends Object
| Modifier and Type | Field and Description |
|---|---|
static Object |
httpStatus
Method handle for httpStatus.
|
| Constructor and Description |
|---|
EcLevrHttp() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ewExists() |
static String |
httpDelete(String url,
String contentType,
String name,
String authToken,
Object headers)
HTTP Delete method from com.eduworks.ew package.
|
static Object |
httpGet(String url)
HTTP Get method from com.eduworks.ew package.
|
static Object |
httpPost(Object data,
String url,
String contentType,
String multipart,
String name)
HTTP Post method from com.eduworks.ew package.
|
public static Object httpStatus
public static boolean ewExists()
public static Object httpPost(Object data, String url, String contentType, String multipart, String name)
{String} - data Payload for HTTP Post. Form Data is allowed. See EcRemote.postInner() for usage example.{String} - url HTTP Endpoint to communicate with.{String} - contentType Content type of the data, if not Form Data.{String} - multipart Multipart flag, "true" or "false" -- not sure why this is a string.{String} - name Name of the boundary being used in a multipart post.public static Object httpGet(String url)
{String} - url HTTP Endpoint to communicate with.public static String httpDelete(String url, String contentType, String name, String authToken, Object headers)
{String} - url HTTP Endpoint to communicate with.{String} - contentType Content type? Set to null.{String} - name Name? Why? Set to null.{String} - authToken Basic Auth token{Object} - headers Key value pairs of headers to send.Copyright © 2021 Eduworks Corporation. All rights reserved.