Skip to content

Instantly share code, notes, and snippets.

@matthewpoer
Created March 28, 2014 05:29
Show Gist options
  • Save matthewpoer/9825996 to your computer and use it in GitHub Desktop.
Save matthewpoer/9825996 to your computer and use it in GitHub Desktop.
How not to return a "No Results" message. Yep, this web service returns an empty HTML page after the text "No Returns Available."
string(142) "No Returns Available
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1"><title>
API
</title></head>
<body>
</body>
</html>"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment