Working solution for all POST paths and one GET path