Move GET resquest to common function.