use GET to request data from server