using post and get params