11 lines
231 B
Bash
Executable file
11 lines
231 B
Bash
Executable file
#!/bin/bash
|
|
ACTORID=${1:-11111111}
|
|
LIMIT=${2:-0}
|
|
REQ=GET
|
|
URL=http://localhost:5000/actor/get_levels/$ACTORID?limit=$LIMIT
|
|
|
|
echo "$REQ $URL"
|
|
read -p "continue?" -n 1 foo
|
|
curl \
|
|
-X $REQ $URL \
|
|
-H "Content-Type: application/json"
|