Posts by André Felipe Moreira Leite • 16 points
1 post
-
0
votes1
answer104
viewsA: Angular 4 and Nodejs Express - Problem with CORS
Try this save(req, res ){ const user = { user.userName: req.body.email}; user.userName = user.email.split("@")[0]; models.User.create(user) .then(function () { console.log('ok') }) .catch(function…