POST API always fails with property x should not be empty For ex: http://localhost:9000/api/auth/login
{ "message": "You have an error in your request's body. Check 'errors' field for more details!", "status": 0, "data": { "message": [ "property username should not be empty", "property username must be an email", "property Password is required" ] } } How do I fix this? error: [api:middlewares/ErrorHandlerMiddleware] BadRequestError {"0":"Error: \n at BadRequestError.HttpError [as constructor] (/Users/simran/Downloads/Spurtcommerce_1.0_community_alpha/api/src/http-error/HttpError.ts:19:22)\n at new BadRequestError (/Users/simran/Downloads/Spurtcommerce_1.0_community_alpha/api/src/http-error/BadRequestError.ts:10:9)\n at /Users/simran/Downloads/Spurtcommerce_1.0_community_alpha/api/src/ActionParameterHandler.ts:191:40"} info: [api:middlewares] POST /api/auth/login 422 1.979 ms - 235 -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/59c9985c-76ad-4bc8-bb5d-669b8a914882%40googlegroups.com.