← history for clients/shell/postEventNow
a0da2f81clients/shell/postEventNow8 lines⬡ raw↓ download
1
2
3
4
5
6
7
8
#! /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