-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
While I am trying to create a new user using Postman ['http://192.168.1.106:3000/v1/users' using POST method, data -> {"unique_key" : "John", "email" : "test@test.com", "phone" : "7887566", "password" : "qwer1234"} as application/json], i am unable to get the user posted onto the db (I added additional line as console.log (user)).
If I use following curl command
curl -X POST -H "Content-Type: application/json" -d '{"unique_key":"john","email":"test@test.com","phone":"7777887566","password":"qwer1234"}' http://192.168.1.106:3000/v1/users
I get "A valid email or phone number was not entered" (after removing the console.log(user))
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels