×

Create Query Item

iOS 14 +

Notes

Create a query item URL components which can be added to a URL using the Build URL tool. The name and value of a single query item can be entered manually or you can provide multiple names and values in a dictionary object: {"name1":"value1","name2":"value2"}

Syntax

createQueryItem(inputType: <#Enumeration (QueryItemType)#>, name: <#String (Allows Variables)#>, value: <#String (Allows Variables)#>, dictionary: <#String (Allows Variables)#>)

Example

createQueryItem(inputType: text, name: "MyQuery", value: "")