Fiexd the post and get method