Created
June 4, 2012 00:03
-
-
Save JohnMurray/2865507 to your computer and use it in GitHub Desktop.
Code descriptions for log-entry on API Anti-Patterns (johnmurray.io)
This file contains 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
HttpWebResponse response = (HttpWebResponse)request.GetResponse(); | |
var statusCode = response.StatusCode; | |
return statusCode == HttpStatusCode.OK; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment