allow custom application event posting via http and allow plugins to specify index and doctype