Changes

Jump to navigation Jump to search
342 bytes added ,  11:41, 14 May 2019
no edit summary
==web:create-url==
 
{{Mark|Updated with Version 9.3:}} Third argument added.
{| width='100%'
|-
| width='120' | '''Signatures'''
|{{Func|web:create-url|$url as xs:string, $parameters as map(*)|xs:string}}<br/>{{Func|web:create-url|$url as xs:string, $parameters as map(*), $anchor as xs:string|xs:string}}<br/>
|-
| '''Summary'''
|Creates a new URL from the specified <code>$url</code> string and the , query string <code>$parameters</code> specified in a mapand an optional {{Code|$anchor}} reference. The keys and and values of the map entries will be converted to strings, URL-encoded (see [[#web:encode-url|web:encode-url]]), and appended to the url as query parameters. If a map entry has more than a single item, all of them will be appended as single parameters.
|-
| '''Examples'''
==web:redirect==
 
{{Mark|Updated with Version 9.3:}} Third argument added.
{| width='100%'
|-
| '''Summary'''
|Creates a [[RESTXQ#Forwards and Redirects|RESTXQ redirection]] to the specified location. The returned response will only work if no other items are returned by the RESTXQ function.<br/>If <code>The {{Code|$parameters</code> }} and {{Code|$anchor}} arguments are specified, they will be appended as query parameters to the URL processed as described for in (see [[#web:create-url|web:create-url]]).
|-
| '''Examples'''
=Changelog=
 
;Version 9.2
 
* Updated: [[#web:create-url|web:create-url]], [[#web:redirect|web:redirect]]: third argument added.
;Version 9.0
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu