Page 1 of 1
Redirection upon GET for an API endpoint
Posted: 22 Jul 2025, 21:39
by fakemoth
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.
Re: Redirection upon GET for an API endpoint
Posted: 25 Jul 2025, 18:02
by Jan
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
Re: Redirection upon GET for an API endpoint
Posted: 26 Jul 2025, 12:21
by fakemoth
I suspected that much, thank you for your answer Jan!
Re: Redirection upon GET for an API endpoint
Posted: 29 Jul 2025, 16:29
by Jan
OK