homecontrol/scripts/actor_get.sh

9 lines
169 B
Bash
Executable file

#!/bin/bash
REQ=GET
URL=http://localhost:8200/actor/get
# echo "$REQ $URL"
# read -p "continue?" -n 1 foo
curl \
-X $REQ $URL \
-H "Content-Type: application/json"