Send command

 
Example:
https://<address>/api/api.php?cmd=send_command&agent_id=xxxxx&template_name=xxxxx
 
Parameters:
cmd : send_command
agent_id: agent ID
template_name: title template (a template is created with the command name in the Commands module).
 
Request:
https://<address>/api/api.php?cmd=send_command&agent_id=139849&template_name=test123
 
Answer :
Code block
language  js
 
{"code":0,"msg":null,"command_id":3989}