forced post() to only be read during POST method and get() to only be read during GET methods