0

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?

gre_gor
  • 6,669
  • 9
  • 47
  • 52
Carter121
  • 15
  • 5

0 Answers0