Check type of response for http request, can i pick on a string?