nour_js·8 ปีที่แล้ว·discussActually this is a typical Machine Learning probleme, luckily was solved years ago and you can read about it here: https://medium.com/@ageitgey/machine-learning-is-fun-part-3-...
nour_js·8 ปีที่แล้ว·discussI must be missing something! to avoid the cross domain issue, how about hitting the API endpoint from back-end function for example using CURL, and simply return the json response to the browser ?