I am calling my rest with CURL php and setting response header like:
header('Status',true,422);
and when printing status I get 422.
but when I set header like:
header('Status',true,440);
I get 500 code in response.
I don't know why is it happening.
Please help me in this issue.