GET request for flask