Capital One interview question

Handling cross domain requests in Springboot