Using my own Joomla 1.5 component, module or plugin, how would I include a request for a REST URL, for example foo.com/api/..., in the corresponding echo () s on the page? I am looking for, if possible, an example of "hello world."
For example, it foo.com/api/baskets/10/fruits/list.jsonmay result in something like the following text on the page:
-- resource: baskets [id: 10]
-- resource: fruits [id: -]
-- action: list
-- format: json
Is it possible?
source
share