added getQuery and getPost method for request widget
changed di for callback from query widget to request widget