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.

Made by

Aman Kumar

©2024 amankumar.ai

Made by

Aman Kumar

©2024 amankumar.ai

Made by

Aman Kumar

©2024 amankumar.ai