This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hi, i'm currently working on creating an administrator back-end in October CMS which i have a javascript to call to route.php. Everything is fine when i'm localhost but now i need to communicate with another webservice and that's where my problem is. How do i get the route.php to work like a proxy and communicate with other server? I hope i'm clear with my question. please help.
Thanks
If you need to access some sort of an external API, you can use http://docs.guzzlephp.org/en/latest/. I'm not sure what exactly is the nature of this web service that you access but most likely it's an API so Guzzle would be a great way to do it. Basically your controllers would be interfacing with the external web service using Guzzle as needed.
1-2 of 2