Check status code for GET requests