'--data-raw in powershell InvokeWebRequest

I have the following curl command that needs to be converted into equivalent powershell Invoke-WebRequest or Invoke-RestMethod:

curl --location --request GET 'https://adb-xxxxxxxxxxxxx.xx.azuredatabricks.net/api/2.0/workspace/list' \
--header 'Authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
  "path": "/"
}'

Since this is a GET request there is no way I could pass the --data-raw in either Invoke-WebRequest or Invoke-RestMethod. I have tried with -Body and -Form. Is there any other way the --data-raw could be passed?

Please note that I have tried the following link and the provided solution does not work in my case: Convert cURL to PowerShell Invoke WebRequest



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source