change /map from GET to POST. fix test to reflect the change.