Fixed api with body parser