For the post request I have this knid of body
{
"callbackUrl": "http://test.io",
"secret": "ygc28gc2VjcmV0"
}
I want to verify does the body has all requied fields such as callbackUrl
and secret
.
How do I check it in Pre-req script and assert it. And don't send the request?