ref: 5640e4dfb173199c928e86b0ff0d3f0649be6543
client/postMetricNow.sh
1 2 3 4 5 6 7
#! /bin/bash # curl \ -X POST\ --header "Content-Type: application/json"\ -d '{"id_client":"cli1","name":"mone","value":"vone"}'\ http://127.0.0.1:18081/metric/now