Update exposed-apis-create-app-webapp.md

fix build errors
This commit is contained in:
Lovina Saldanha
2020-11-03 14:59:12 +05:30
parent 1e69c7028e
commit ba8eba48b3

View File

@ -201,7 +201,7 @@ Ensure that you got the correct token:
1. The expiration time of the token is one hour. You can send more then one request with the same token. 1. The expiration time of the token is one hour. You can send more then one request with the same token.
The following is an example of sending a request to get a list of alerts **using C#**: The following is an example of sending a request to get a list of alerts **using C#**:
``` ```
var httpClient = new HttpClient(); var httpClient = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.securitycenter.windows.com/api/alerts"); var request = new HttpRequestMessage(HttpMethod.Get, "https://api.securitycenter.windows.com/api/alerts");
@ -211,7 +211,7 @@ The following is an example of sending a request to get a list of alerts **using
var response = httpClient.SendAsync(request).GetAwaiter().GetResult(); var response = httpClient.SendAsync(request).GetAwaiter().GetResult();
// Do something useful with the response // Do something useful with the response
``` ```
## Related topics ## Related topics
- [Supported Defender for Endpoint APIs](exposed-apis-list.md) - [Supported Defender for Endpoint APIs](exposed-apis-list.md)