This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

pwtan14262
pwtan14262

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

pratyushpundir6424
pratyushpundir6424

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

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.