PHP uses "Loose Comparisons" (==) which automatically converts data types to match before comparing.
JSON
Send raw boolean values true or false instead of a string.
true
false
Ensure Content-Type is application/json.
Content-Type
application/json
Payloads
{"password": true}
{"admin": true}
{"verified": true}
Last updated 1 day ago