Yes, I ran into a problem of the same type and figured out a solution that we need to pass as a pair of key values,
I passed the data to Ajax, for example:
: email = "+ email +" & name = '"+ name
But the right way to transfer data in Ajax is:
data: {email: email, name: name}
source share