Fix for GET requests and passing query parameters