fun jsonRpcCall(url: String, data: List<String?> = listOf(), method: HttpMethod = HttpMethod.POST, beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null): Promise<String>
Makes an JSON-RPC call to the remote server.
Return
a promise of the result