Unexpected Token U Ajax Syntax Error
I've been having a problem all day sending json data via ajax to Express. My ajax looks like this: $('#saveClause').click(function () { var username = document.getElementById
Solution 1:
Try removing the contentType: "application/json",
If you used postman with no headers, most likely this is causing the parser to fail.
Post a Comment for "Unexpected Token U Ajax Syntax Error"