Skip to content

Commit

Permalink
Ensure requests are utf-8 encoded.
Browse files Browse the repository at this point in the history
  • Loading branch information
RobFaie committed Mar 25, 2020
1 parent 0bafb28 commit 1a35a86
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions functions/Invoke-Method.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,10 @@ function Invoke-Method {
}

$params = @{
Method = $Method
Headers = @{
Accept = 'application/json'
Method = $Method
ContentType = 'application/json; charset=utf-8'
Headers = @{
Accept = 'application/json; charset=utf-8'
}
}

Expand Down

0 comments on commit 1a35a86

Please sign in to comment.