parseSubmitRequestBlocking

fun Ksoup.parseSubmitRequestBlocking(url: String, params: Map<String, String> = emptyMap(), httpRequestBuilder: HttpRequestBuilder.() -> Unit = {}, parser: Parser = Parser.htmlParser()): Document

Use to fetch and parse a HTML page.

Use examples:

  • Document doc = Ksoup.parseSubmitRequest("http://example.com", params = mapOf("param1Key" to "param1Value"))

Return

sane HTML

Parameters

url

URL to connect to. The protocol must be http or https.