As part of my component I have a custom API that acts as a webhook for an external system. This system sends POST data to the webhook which reads it and takes action
However for simplicity, I would really like to be able to utilise some of the Joomla functionlity i.e
JMailer (rather than having to call standalone phpmailer)
Jtext (so I can reuse language constants with he core mailing system)
and of course last but not least
JCook components, so I can use the easy method of calling a model and updating / adding a record
What headers do I need to add on my standalone page (if at all possible) to able to use the above. I have considered just creating a menu item into full Joomla and building the webhook stuff into that, but its a bit messy and would prefer a cleaner standalong solution like I have currnetly underway