Get req.body from a list
I’m trying to get the req.body.email from a request body that contains a list like
{
"email": [
"[email protected]"
]
}
I have tried req.body.email, req.body[0].email, req.body.email[0] but to no avail. This is for an external api so not having the brackets is not an option unfortunately