Which method prevents CORS errors?
Configure specific headers on the request object
Use the correct HTTP code
Set up specific headers on the response object
Send the answer in JSON format