post
abstract fun post(url: String, payload: DataObject?, additionalHeaders: Map<String, String>? = null, completion: NetworkCallback<NetworkResult>): Disposable
abstract fun post(url: URL, payload: DataObject?, additionalHeaders: Map<String, String>? = null, completion: NetworkCallback<NetworkResult>): Disposable
Asynchronously POSTs the payload to the given url.
Parameters
url
The Url to POST to
payload
The body to be POSTed
additionalHeaders
Optional map of additional headers to add to the request