Redirection upon GET for an API endpoint
- fakemoth
- Phoca Member
- Posts: 36
- Joined: 23 Jun 2009, 11:06
- Location: Transilvania
- Contact:
Redirection upon GET for an API endpoint
Hi, guys how can one create an API endpoint that upon GET request will be redirected to a custom controller? Point is to retrieve certain data from a Phoca Cart orders table. Any example, tutorial, docs, or pure knowledge for Joomla 5 would be much appreciated.
- Jan
- Phoca Hero
- Posts: 48932
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Redirection upon GET for an API endpoint
Hi, I think, this is much more a question on Joomla.org forum as possible API can be managed through Joomla plugins (e.g. Phoca Cart Webservices plugin uses Joomla webservices plugin features: https://www.phoca.cz/phocacart-extensio ... ces-plugin or Phoca Cart Console plugin uses console plugin features: https://www.phoca.cz/phocacart-extensio ... ole-plugin )
Jan
Jan
If you find Phoca extensions useful, please support the project
- fakemoth
- Phoca Member
- Posts: 36
- Joined: 23 Jun 2009, 11:06
- Location: Transilvania
- Contact:
Re: Redirection upon GET for an API endpoint
I suspected that much, thank you for your answer Jan!
- Jan
- Phoca Hero
- Posts: 48932
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Redirection upon GET for an API endpoint
OK
If you find Phoca extensions useful, please support the project