Skip to content

Commit c386fd1

Browse files
StartAutomatingStartAutomating
authored andcommitted
Updating Rest Transpiler: Handling multiple QueryString values (#139)
1 parent 24b3454 commit c386fd1

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

docs/Rest.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,17 @@ If a parameter is a [switch], it will be turned into a [bool].
210210
|----------------|--------|-------|-------------|
211211
|```[PSObject]```|false |named |false |
212212
---
213+
#### **JoinQueryValue**
214+
215+
If provided, will join multiple values of a query by this string.
216+
If the string is '&', each value will be provided as a key-value pair.
217+
218+
219+
220+
|Type |Requried|Postion|PipelineInput|
221+
|--------------|--------|-------|-------------|
222+
|```[String]```|false |named |false |
223+
---
213224
#### **ForEachOutput**
214225

215226
A script block to be run on each output.
@@ -222,7 +233,7 @@ A script block to be run on each output.
222233
---
223234
### Syntax
224235
```PowerShell
225-
Rest [-ScriptBlock <ScriptBlock>] [-RESTEndpoint] <String[]> [-ContentType <String>] [-Method <String>] [-InvokeCommand <String>] [-InvokeParameterVariable <String>] [-UriParameterHelp <IDictionary>] [-UriParameterType <IDictionary>] [-BodyParameter <PSObject>] [-QueryParameter <PSObject>] [-ForEachOutput <ScriptBlock>] [<CommonParameters>]
236+
Rest [-ScriptBlock <ScriptBlock>] [-RESTEndpoint] <String[]> [-ContentType <String>] [-Method <String>] [-InvokeCommand <String>] [-InvokeParameterVariable <String>] [-UriParameterHelp <IDictionary>] [-UriParameterType <IDictionary>] [-BodyParameter <PSObject>] [-QueryParameter <PSObject>] [-JoinQueryValue <String>] [-ForEachOutput <ScriptBlock>] [<CommonParameters>]
226237
```
227238
---
228239

0 commit comments

Comments
 (0)