retrieve post params in a map