createJSONPayload

open fun createJSONPayload(): JSONObject

Method to assemble a body params of an "HTTP" request No-any params required

Return

body params as JSONObject

Throws

when extra params in list is empty or is null


open fun createJSONPayload(extraPayload: APIRequest.Params): JSONObject

Method to assemble a body params of an "HTTP" request

Return

body params as JSONObject

Parameters

extraPayload

: extra payload data to add

Throws

when extra params in list is empty or is null