I believe when I call xmlDoc.load(url) from within a rails app, it makes
a request to mydomain/url. How do I make a request to the absolute url?
Thanks.
I believe when I call xmlDoc.load(url) from within a rails app, it makes
a request to mydomain/url. How do I make a request to the absolute url?
Thanks.
Ken Le wrote:
I believe when I call xmlDoc.load(url) from within a rails app, it makes
a request to mydomain/url. How do I make a request to the absolute url?Thanks.
Nevermind, I forgot about javascript and prevention of cross-site
scripting. I believe that is why this will not work, correct me if i’m
wrong.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs