How can I using HTTP Request or TCP/IP invoke module method?

Hi everyone,

I have an API web and a wowza server which contains some modules. I want to invoke module method from web API. I think I can use HTTP or TCP/IP. How can I do that?

Thanks, Thapld