Add a source address that the agent will accept messages from.
http://gambitcomm.local
http://gambitcomm.local
http://gambitcomm.local
http://gambitcomm.local
POST
/mimic/agent/{agentNum}/from/add/{IP}/{port}
An empty ipaddress or 0.0.0.0 both imply any address. Similarly an empty port or 0 both imply any port. For agents with source-address-indexing enabled, messages which do not match any source address will be discarded with an ERROR message, similar to community string mismatches.
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'http://gambitcomm.local/mimic/agent//from/add//'