← All Articles

Setting up CORS for Rails API App

2020-06-02less than a minute read
Setting up CORS for Rails API App

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.