How to convert Authorizing query to request http client?

Such a request executes correctly in Postman thanks to this I get access_token.

However, I would like to execute such a request directly from the IDE via .http file is it possible to convert this to some http request?