Connect to rest Api Azure

I would like to see an example of the set of messages that I need to authenticate the rest Api Azure , ie the get and post specified in this list but examples. The web page is https://msdn.microsoft.com/en-us/library/partnercenter/dn974935.aspx https://azure.microsoft.com/es-es/documentation/articles/resource-manager-api-authentication/

Upvotes: 0

Views: 1995

Answers (1)

Peter Pan
Peter Pan

Reputation: 24148

There are two blogs which shows how to authenticate the REST API with ARM via get the access token and use the token to authorize a REST call.

  1. For C#, please see How to call the Azure Resource Manager REST API from C#.
  2. For Java, please see Authenticating Azure Resource Management REST API requests using Java.

Meanwhile, you can refer to Azure samples about Azure AD via access https://github.com/Azure-Samples?utf8=%E2%9C%93&query=active-directory.

Hope it helps. Any concern, please feel free to let me know.

Upvotes: 1

Related Questions