Kaya 0.5.2 reference for HTTP::postURL

List of functions and data types in HTTP

String postURL(String post, HTTPURL url, [Pair<String, String> ] headers=createArray(1), HTTPversion version=HTTP10, [String] certfiles=[])

Arguments

Usage

Post data to a URL by HTTP. The String returned will contain the HTTP response headers and response body exactly as sent by the server. Because Strings may not contain null bytes, this function is not suitable for requests that may return binary data.

Related

kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya