jedireza / frame

:bulb: A user system API starter

Home Page:https://jedireza.github.io/frame/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: "value" must be an object

iraniamir opened this issue · comments

Hi, there
i trying to use postman for check this api but evertime i get this :

{
  "statusCode": 400,
  "error": "Bad Request",
  "message": "\"value\" must be an object",
  "validation": {
    "source": "payload",
    "keys": [
      "value"
    ]
  }
}

Image of Yaktocat

Thanks for creating an issue.

Since there is no value key in the login route handler, I suspect something else is happening here.

Also you likely don't want to pass query parameters or use the "Authorization" feature with Postman, since you're trying to establish a new session when POSTing to /api/login.

See the wiki page on this here: https://github.com/jedireza/frame/wiki/How-to-login

ohum i get it, sorry i just new with postman.
thanks so much