dhamilton51 Posted November 28, 2013 Share Posted November 28, 2013 Hi, I was hoping for some help. I have processwire installed on an external domain to manage content for me. I was wondering how I go about accessing the API from other domains / local build environment? On my localhost all API calls work well when pointing to local processwire/index.php but when I attempt to point to live processwire/index.php api fails. All help is much appreciated! Thanks Link to comment Share on other sites More sharing options...
Martijn Geerts Posted November 28, 2013 Share Posted November 28, 2013 I'm not shure I understand the question. But if you want to retrieve data from an external ProcessWire site maybe you can use Pages Web Service. Link to comment Share on other sites More sharing options...
Pete Posted November 28, 2013 Share Posted November 28, 2013 Welcome to ProcessWire dhamilton51! The general way people work with websites is to treat local and live copies of websites completely separately. This usually involves working on it locally first and then going live by uploading the finished/near-finished site to the live server. Is there a reason you want your local copy to talk to the live version's API? Are Martijn or I actually understanding what you're doing? I think with some more details we can certainly help you Link to comment Share on other sites More sharing options...
Martijn Geerts Posted November 28, 2013 Share Posted November 28, 2013 Sorry, I forgot to say Welcome ! 2 Link to comment Share on other sites More sharing options...
dhamilton51 Posted November 29, 2013 Author Share Posted November 29, 2013 Hey guys - thanks for your quick responses! Basically I am just using processwire as a management tool for some help/tutorials on a particular area of my website and am using simple API calls to search and display the page content within my own website/framework. I have dev and live versions of my website but would like to just have a single instance of processwire sitting on my live server so I don't need to duplicate content between 2 installs etc. I hope this makes things a little more clear... the 'Pages Web Service' module may well be exactly what I need, I will check it out over the next day or 2, but any other advice or help is very much appreciated. Thanks again, DH Link to comment Share on other sites More sharing options...
ryan Posted December 6, 2013 Share Posted December 6, 2013 Also look into using RSS feeds (via MarkupRSS and/or MarkupLoadRSS) as these are one of the most common ways for sites to share content. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now