Moved returning of response for GET