Added querysting and POST support