I'd say it's bad style checking for a specific return string. Instead, I'd look at the HTTP response code (that's what it's for, after all), if you got a 200 then your API call worked.