A solution for HTTP access control (CORS) issues

A part of building new applications is running into errors and working to find solutions. I am currently working on an application that uses the SongKick API and the Spotify API to generate Spotify playlists based on artists performing in the user location within date range preferences. The error that I encountered involves Cross-Origin Resource Sharing or CORS. This post discusses CORS, what it is, why it's important, how I encountered CORS, and a solution to the problem. So what is CORS and why is it important? CORS (Cross-origin resource sharing) according to wikipedia: "defines a way in which a browser and server can interact to determine whether or not it is safe to allow the cross-origin request. " Further, in…