switch get on post