renamed method from createRequestFromUrl to buildRequest