S
I'm getting 422 unprocessable entity . Can anyone please help
Shriyashree Tiwari about 3 years ago 3983 views 4 replies
input : [{id
:1091468,name
:shriyashree tiwari
,email
:shriya@example.com
,gender
:female
,status
:active
}]
output:[
{
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
}
]
4 replies
Z
zeevy about 3 years ago
input : {id
:1091468,name
:shriyashree tiwari
,email
:shriya@example.com
,gender
:female
,status
:active
}
input should be object not array
M
Misterios Person about 3 years ago
hello
S
Saptak Das about 3 years ago
Iam getting the same status 422, but getting corect output
Z
zeevy about 3 years ago
Please share the payload and result jsons