One more alternative cross-platform solution on powershell 6.2.3:
$headers = @{
'Authorization' = 'Token 12d119ad48f9b70ed53846f9e3d051dc31afab27'
}
$body = @"
{
"value":"3.92.0",
"product":"847"
}
"@
$params = @{
Uri = 'http://local.vcs:9999/api/v1/version/'
Headers = $headers
Method = 'POST'
Body = $body
ContentType = 'application/json'
}
Invoke-RestMethod @params