HttpApi (HTTP APIs)

get

Retrieve​ a json result using HTTP get.

HttpApi.get(requestUrl) 
or
HttpApi.get(requestUrl, headers)
or
HttpApi.get(requestUrl, headers, retryCount, waitTime)
or 
HttpApi.getWithRetry(requestUrl, headers)

Parameters

requestUrl (string)
headers (dictionary)
retryCount (int)
waitTime (int)

Returns

The response object from the GET request.

post

HTTP Post with the body and optionally headers and retrieve returning object.

Parameters

Returns

put

Execute​ HTTP put with a given body and a header to the requested URL.

Parameters

Returns

patch

Execute HTTP patch​ with the requested body and header to a URL.

Parameters

Returns

delete

Execute HTTP delete with a body and a header to a requested URL.

Parameters

Returns

getAsString

Description...

Parameters

Returns

postAsString

Description...

Parameters

Returns

putAsString

Description...

Parameters

Returns

patchAsString

Description...

Parameters

Returns

deleteAsString

Description...

Parameters

Returns

readFileAsJSON

Description...

Parameters

Returns

readFileAsString

Description...

Parameters

Returns

readFileAsBytes

Description...

Parameters

Returns

writeFile

Description...

Parameters

Returns

writeFileBytes

Description...

Parameters

Returns

writeFileBytes

Description...

Parameters

Returns

Last updated