Azure uses OAuth. I'd suggest you get the requests working in Postman, and then change the client calls to Mendix.
Below is a simple call to issue a token to use Azure Artifical Intelligence service. You need to create the service first, give access and then generate the Bearer token (piece show below).