var response = await client.SendAsync(request);
if (response.StatusCode == HttpStatusCode.Unauthorized)
{
// need to refresh the request security token!
}
if (response.IsSuccessStatusCode)
{
// the status code was 2xx
}
Last active
July 16, 2021 10:02
-
-
Save ByteDev/3dfc8f3982fab9995a1870215a57bfaf to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment