...
In the second form, the function accepts a single configuration object as a parameter. The object is used to set all options of the request in the same way this is done using the pui.AjaxRequest object. The only exceptions are that the async and onsuccess properties of the object are not used. Instead, the parameter can have an optional handler property that can be used to specify a function to call on completion of the request.
...