Can't get Ajax data sent to my PHP function
Check your URL again...  should it have /site/ ?   I am guessing not, unless you have something going on it should be:   http://localhost:8080/api/feedback

url: '/api/feedback',