Skip to content

Commit 50fa536

Browse files
Merge pull request #12281 from MicrosoftDocs/main
Auto Publish – main to live - 2025-08-13 22:00 UTC
2 parents c02f96b + f2ca9b8 commit 50fa536

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

reference/5.1/Microsoft.PowerShell.Utility/Invoke-RestMethod.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,9 @@ Specifies the body of the request. The body is the content of the request that f
184184
You can also pipe a body value to `Invoke-RestMethod`.
185185

186186
The **Body** parameter can be used to specify a list of query parameters or specify the content of
187-
the response.
187+
the .
188188

189+
request.
189190
When the input is a GET request, and the body is an IDictionary (typically, a hash table), the body
190191
is added to the URI as query parameters. For other request types (such as POST), the body is set as
191192
the value of the request body in the standard name=value format.

reference/7.4/Microsoft.PowerShell.Utility/Invoke-RestMethod.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ Specifies the body of the request. The body is the content of the request that f
408408
You can also pipe a body value to `Invoke-RestMethod`.
409409

410410
The **Body** parameter can be used to specify a list of query parameters or specify the content of
411-
the response. For query parameters, the cmdlet uses the **System.Net.WebUtility.UrlEncode** method
411+
the request. For query parameters, the cmdlet uses the **System.Net.WebUtility.UrlEncode** method
412412
method to encode the key-value pairs. For more information about encoding strings for URLs, see
413413
[the UrlEncode() method reference](xref:System.Net.WebUtility.UrlEncode*).
414414

reference/7.5/Microsoft.PowerShell.Utility/Invoke-RestMethod.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ Specifies the body of the request. The body is the content of the request that f
408408
You can also pipe a body value to `Invoke-RestMethod`.
409409

410410
The **Body** parameter can be used to specify a list of query parameters or specify the content of
411-
the response. For query parameters, the cmdlet uses the **System.Net.WebUtility.UrlEncode** method
411+
the request. For query parameters, the cmdlet uses the **System.Net.WebUtility.UrlEncode** method
412412
method to encode the key-value pairs. For more information about encoding strings for URLs, see
413413
[the UrlEncode() method reference](xref:System.Net.WebUtility.UrlEncode*).
414414

reference/7.6/Microsoft.PowerShell.Utility/Invoke-RestMethod.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ Specifies the body of the request. The body is the content of the request that f
408408
You can also pipe a body value to `Invoke-RestMethod`.
409409

410410
The **Body** parameter can be used to specify a list of query parameters or specify the content of
411-
the response. For query parameters, the cmdlet uses the **System.Net.WebUtility.UrlEncode** method
411+
the request. For query parameters, the cmdlet uses the **System.Net.WebUtility.UrlEncode** method
412412
method to encode the key-value pairs. For more information about encoding strings for URLs, see
413413
[the UrlEncode() method reference](xref:System.Net.WebUtility.UrlEncode*).
414414

0 commit comments

Comments
 (0)