add support for 'GET' mode