Created
May 3, 2017 01:50
-
-
Save programmation/26cfb171f06351bc0ccd88b01092bebf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var response = await GetAsync (requestUri, token); | |
var responseType = response.Content?.Headers?.ContentType?.MediaType; | |
this.Debug (String.Format ("Response {0} ({1}) -> {2}", (int)response.StatusCode, response.StatusCode.ToString (), responseType)); | |
var responseText = await response.Content.ReadAsStringAsync (); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment