forked from freifunk-franken/firmware
8 lines
256 B
Plaintext
8 lines
256 B
Plaintext
|
#!/bin/ash
|
||
|
|
||
|
api_url="https://monitoring.freifunk-franken.de/api/alfred"
|
||
|
fetch_id="64"
|
||
|
|
||
|
(echo -n "{\"$fetch_id\": "; alfred-json -r "$fetch_id"; echo -n "}") | \
|
||
|
curl -k -v -H "Content-type: application/json; charset=UTF-8" -X POST --data "@-" $api_url
|