2019-11-05 01:18:25 +01:00
|
|
|
#!/bin/bash
|
|
|
|
ACTORID=${1:-11111111}
|
|
|
|
LIMIT=${2:-0}
|
|
|
|
REQ=GET
|
2020-03-02 00:39:01 +01:00
|
|
|
URL=http://localhost:8200/actor/get_levels/$ACTORID?limit=$LIMIT
|
2019-11-05 01:18:25 +01:00
|
|
|
|
|
|
|
echo "$REQ $URL"
|
|
|
|
read -p "continue?" -n 1 foo
|
|
|
|
curl \
|
|
|
|
-X $REQ $URL \
|
|
|
|
-H "Content-Type: application/json"
|