Closed renukeswarchinta closed 3 years ago
Please follow the spec https://github.com/gothinkster/realworld/tree/master/spec#backend-specs:
curl --location --request POST 'http://localhost:8080/users' \
--header 'Content-Type: application/json' \
--header 'X-Requested-With: XMLHttpRequest' \
--data-raw '{
"user": {
"email": "john@jacob.com",
"password": "johnnyjacob",
"username": "john"
}
}'
{ "user": { "email":"renu.javaconnect@gmail.com", "password":"renu" } }
I have this record but i get 422 error . May i know where i am going wrong