Changed implementation of GET request.