Anyone who has worked with API has faced the CORS error anytime while attempting a request. For anyone unaware CORS refers to ‘Cross-Origin Resource Sharing’ and it is essentially how the server filters out requests from an origin other than itself.