Azure API Run Command - Accepted 202 response

后端 未结 1 430
走了就别回头了
走了就别回头了 2021-01-24 15:45

I am trying to use the Microsoft Azure Rest API Run Command:

https://docs.microsoft.com/en-us/rest/api/compute/virtual%20machines%20run%20commands/runcommand

I e

相关标签:
1条回答
  • 2021-01-24 16:38

    It is normal, when got 202 response, you need to call another api to check the result.

    In your case, you will get a response header like below, just call the api in the location(also need the Authorization Bearer token).

    I test it in the postman, it works fine.

    For more details, you could refer to this doc - Track asynchronous Azure operations, and see this sample.

    0 讨论(0)
提交回复
热议问题