To main page | Opera Unite HowTo's
GET/POST data
See Uniteness for better way to handle GET/POSTs.
GET data /service_path/page?get_param=get_value
available as
function start_page(r) {
r.connection.request.queryItems['get_param'][0] // == "get_value"
POST data <form method="post"><input name="title"></form>
Here is how to get this POST data from script:
function start_page(r) {
var title = r.connection.request.bodyItems['title'][0];
....
See also: Request Hierarchy
r.GET.id
r.POST.title
|