static post routes to dynamic