We can pass to "httapi" the optional "data" argument. In "data" we can directly (eg, without curly braces) write the URL to be used as gateway, bypassing the one set in module configuration.
Or we can list in curly braces, separated by commas, 3 possible parameters to bypass the ones set by the configuration profile in use (same technique as in dialstring).
<action application="httapi" data="http://localhost/freeswitch" />