i am making a simple ToDoApp with MEAN(Angular2) stack but im having a problem with the http.post request. Always when i run the post method the current JSON object gets inserted into the database but right after i get a error message and also my current server connection breaks down.
Insert method:
The error in the console:
CORS is allowed on the backend side and i dont know what else to try. Any suggestions??
Also in my terminal in Visual Studio code i get an error which says: TypeError: Cannot read property 'headers' of null
via Mensa10
No comments:
Post a Comment