Hi, i am so confused - shouldnt this work?App.delete('/clear', function(req, res){some code})$.ajax({ type: delete, url: '/clear' success: some codeWhenever I run the app i get an error, but when I change both routes to '/' everything works perfectly. Thanks in advance :)
Submitted May 28, 2018 at 09:45AM by everek123
No comments:
Post a Comment