doing a get call to url