pass the request url as parameter to getDataAsJson

Change-Id: Icc12f7e9e0e6e6ba9b85a3d403ad3d427705693e