Edit this page

up.Params up.Params.prototype.toURL(base)
Instance method

This feature is experimental. Please share your experiences so we know what to keep or change.

Builds an URL string from the given base URL and this up.Params instance as a query string.

The base URL may or may not already contain a query string. The additional query string will be joined with an & or ? character accordingly.


Parameters

base
required

The base URL that will be prepended to this up.Params object as a query string.

string

Return value

The built URL.

string