handling post requests, query string