The objective is to obtain a token from the Microsoft site, which will then be used to access Azure Key Vault.
I am using the following code for study purposes. However, every time it runs, I encounter a 400 error. When using the same header configuration in Postman, the token is retrieved successfully. Here’s my code: