updated url request handling in grader.2