yats.git

ref: 332e2e2c1a41026a2a44e531325bdb2c2c2b6c19

clients/shell/postEventNow


#! /bin/bash

event=$1
curl \
	-X POST\
	--header "Content-Type: application/json"\
	-d "{\"id_client\":\"test-cli\",\"name\":\"${event}\"}"\
	http://127.0.0.1:18081/rt/event