Go REST
T

422 Unprocessable Entity for POST Call

Test User over 3 years ago 4080 views 1 replies

While sending below Post REQUEST to create new user in the end point : https://gorest.co.in/public/v2/users ,
[
{
email: testric1234@yopmail.com,
name: Ric Jais,
gender: female,
status: active
}
]

It gives below-
[
{
field: email,
message: can't be blank
},
{
field: name,
message: can't be blank
},
{
field: gender,
message: can't be blank, can be male of female
},
{
field: status,
message: can't be blank
}
]

1 reply
T
Test User over 3 years ago

Worked with below payload-
{
name: Test Auto User,
email: testauto54@yopmail.com,
gender: male,
status: active
}

Your reply

Markdown supported