thanks for your input.
this is my current header:
$header = @{
'X-Cisco-Meraki-API-Key' = $apikey
'Content-Type' = 'application/json ; charset=utf-8'
'Accept-Language' = 'nb-NO,nb;q=0.9,no-NO;q=0.8,no;q=0.6,nn-NO;q=0.5,nn;q=0.4,en-US;q=0.3,en;q=0.1'
}
Ive also tried a few other charsets, like iso and sorts.
also tried this.
$header = @{
'X-Cisco-Meraki-API-Key' = $apikey
'Content-Type' = 'application/json'
'Accept-Language' = 'nb-NO,nb;q=0.9,no-NO;q=0.8,no;q=0.6,nn-NO;q=0.5,nn;q=0.4,en-US;q=0.3,en;q=0.1'
'Accept-Charset'= 'utf-8, iso-8859-1;q=0.5, *;q=0.1'
}