Mass Assignment
Changing JSON data type
Change the data type of the JSON body.
- String
- Boolean
- Number
- Null
- Array
For example, suppose the following is the JSON body for a forgot password request:
{
"email": "victim@example.com"
}Then, try the following:
{
"email": ["victim@example.com", "attacker@example.com"]
}Last updated on