Home rails call to another server gives cross origin issue
Reply: 0

rails call to another server gives cross origin issue

user428
1#
user428 Published in April 26, 2018, 1:47 pm

For a rails project there are api call on completely different server.

To make those calls when I try from java script using ajax, its gives me cross origin issue.

Do I need to first go to controller & than make those api calls or there is some other way to call from Javascript?

(I know that I should share some code or my efforts but don't think that there is anything to share )

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.438329 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO