remote Call
fun remoteCall(url: String, data: dynamic = null, method: <ERROR CLASS> = HttpMethod.GET, contentType: String = "application/json", responseBodyType: ResponseBodyType = ResponseBodyType.JSON, requestFilter: <ERROR CLASS>.() -> Unit? = null): <ERROR CLASS><dynamic>
Content copied to clipboard
Makes a remote call to the remote server.
Return
a promise of the result
Parameters
url
an URL address
data
data to be sent
method
a HTTP method
content Type
a content type of the request
response Body Type
response body type
request Filter
a request filtering function