Updated route to use post