I made an API with ExpressJS and when I try a GET request with this:
requestData.open("GET", "http://localhost:3000/get-data", false)
it works and gives me a depreciation error in the console but if I use
requestData.open("GET", "http://localhost:3000/get-data", true)
it doesn't work. Is it ok to keep using false even with the warning?