I tried to reproduce the same in my environment and got below results:
I registered one Azure AD application and added API permissions like below:

To run the same curl command via Postman, I clicked on Import and pasted code like this:
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d '{"grant_type":"client_credentials","client_id":"678b1771-0703-401e-8056-xxxxxxxxxx", "client_secret":"xxxxxxxxxxxxxxxx", "scope":"https://graph.windows.com/.default"}' https://login.microsoftonline.com/58e70374-11f2-4e91-af40-xxxxxxxxxxx/oauth2/v2.0/token

After selecting Continue, it took me to next screen like this:

When I clicked on Import
, I got the screen with below parameters where I got same error after selecting Send like this:

You are getting that error because you are not passing the parameters in correct format.
To resolve the error, try changing your curl command by passing parameters separated by &
in below format:
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d 'grant_type=client_credentials&client_id=<apID>&client_secret=<secret>&scope=https%3A%2F%2Fgraph.windows.com%2F.default' https://login.microsoftonline.com/<tenantID>/oauth2/v2.0/token
I changed the curl command by passing parameters in above format and imported it again like this:

When I clicked on import, parameters passed correctly in Body
section but got different error like this:
POST https://login.microsoftonline.com/<tenantID>/oauth2/v2.0/token
grant_type:client_credentials
client_id:<appID>
client_secret: <secret>
scope: https://graph.windows.com/.default
Response:

To resolve the above error, I changed scope
value to https://graph.microsoft.com/.default and got access token successfully like this:
POST https://login.microsoftonline.com/<tenantID>/oauth2/v2.0/token
grant_type:client_credentials
client_id:<appID>
client_secret: <secret>
scope: https://graph.microsoft.com/.default
Response:
alure
In your case, you need to change your curl command by passing parameters in correct format separated by &
and scope value too like this:
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d 'grant_type=client_credentials&client_id=<appID>&client_secret=<secret>&scope=https://graph.microsoft.com/.default' https://login.microsoftonline.com/<tenantID>/oauth2/v2.0/token