Check for valid result before return

Before returning an answer, check to see a 200 result was returned. If
so, return data; if not, return entire raw response to help with
debugging.