Edit this page

up.network up.network.loadPage(options)
JavaScript function

Makes a full-page request, replacing the entire browser environment with a new page from the server response.

Aborts all pending requests.

Also see up.Request#loadPage().


Parameters

options.url
required

The URL to load as a full page.

string
[options.method='get']
optional

The HTTP method to use for the request.

Common values are 'get', 'post', 'put', 'patch' and 'delete'. The value is case insensitive.

string
[options.params]
optional

Additional parameters that should be sent as the request's query string or payload.

Binary values from file inputs will be removed from the given params.