1. fix the bug when url is empty, the fetch pages function doesn't work

2. adjust top and skip order
3. add a new nethod to call web api