← history for client/postEventNow
7c2da97cclient/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\":\"cli1\",\"name\":\"${event}\"}"\
	http://127.0.0.1:18081/rt/event