Change the way GET request is build, fix pagination parameter