void sendMTS(){
string Header="{'Content-Type': 'application/json',}";
string Code = "{ \"text\": \"Exception on Zorro :\"}";
string URL = "https://4xcd.cloud.mattermost.com/hooks/pmj...........x";
int handle=http_send (URL, Code, Header);
printf("\nSTAT: %d",http_status(handle)); // return 173
http_free(handle);
}
function run() {
printf("Run testing..");
sendMTS();
wait(1000);
quit("");
}