Skip to content

Commit 8d0649b

Browse files
committed
1 parent 58cf6e2 commit 8d0649b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,7 @@ Indicates the cmdlet should add headers to the request without validation.
776776

777777
This switch should be used for sites that require header values that do not conform to standards. Specifying this switch disables validation to allow the value to be passed unchecked. When specified, all headers are added without validation.
778778

779-
This will disable validation for values passed to both the **-Headers** and **-UserAgent** parameters.
779+
This will disable validation for values passed to the **-ContentType**, **-Headers** and **-UserAgent** parameters.
780780

781781
```yaml
782782
Type: SwitchParameter

reference/6/Microsoft.PowerShell.Utility/Invoke-WebRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ Indicates the cmdlet should add headers to the request without validation.
738738

739739
This switch should be used for sites that require header values that do not conform to standards. Specifying this switch disables validation to allow the value to be passed unchecked. When specified, all headers are added without validation.
740740

741-
This will disable validation for values passed to both the **-Headers** and **-UserAgent** parameters.
741+
This will disable validation for values passed to the **-ContentType**, **-Headers** and **-UserAgent** parameters.
742742

743743
```yaml
744744
Type: SwitchParameter

0 commit comments

Comments
 (0)