我不断收到的错误信息是:
POST url 422(不可挽回的实体)
$.ajax({
url: 'url',
type: "POST",
contentType: "application/json",
complete: 'callback',
skip_before_action: "verify_authenticity_token" ,
data: JSON.stringify({
"Name": name,
"Vorname": vorname,
"Passwort": Passwort,
"E-Mail":Mail
}),
success: function(data){
$('#body').html(data.msg);
}
});