test get/post method