Hi, This is my code for register customer from Ajax but it’s having response 301
var data = jQuery(this).serialize();
console.log(data);
$.ajax({
type: 'POST',
url: "/account",
data: data ,
dataType: 'html',
async: true,
success: function (data,textStatus, request) {
if( textStatus == 'success'){
// window.location.href = '/pages/thank-you';
}else {
location.reload();
}
}
});
Here Response:
