Awasu passes a string to plugins via the PluginServerUrl parameter in the INI file that will look something like this:
http://127.0.0.1:12345Plugins can then use this value to generate and insert URL's into a page that would then look like this:
http://127.0.0.1:12345/MyAppPluginId/foo/bar?p1=hello?p2=worldAwasu will be listening on the appropriate port and will receive the HTTP request when the user clicks on the link. It figures out which plugin to send the request to (using the plugin ID embedded in the URL) and inserts the request name and parameters into the plugin's INI file, like this:
[System] Command=ProcessRequest PluginRequest=foo/bar ParamString=p1=Hello&p2=WorldThe plugin can then use this information to process the request appropriately. You should not rely on the port number being any particular value since the user can change it via the Program Options dialog.