Invoke-WebRequest if no -ContentType check -Headers @{Content-Type=...} #9851
Labels
area-utility
Area - Microsoft.PowerShell.Utility module
issue-doc-idea
Issue - request for new content
Milestone
Prerequisites
Get-Foo
cmdlet" instead of "New cmdlet."Summary
Currently we only check for -ContentType and we ignore -Headers @{Content-Type=...} after this PR we also check for ContentType in headers
If we set both -ContentType and -Headers @{Content-Type=...} --> -ContentType is used
Content-Type is used to encode the body
Details
No response
Articles
Related Source Pull Requests
Related Source Issues
The text was updated successfully, but these errors were encountered: