diff --git a/doc/get_trainlines.sh b/doc/get_trainlines.sh new file mode 100644 index 0000000..545fdc0 --- /dev/null +++ b/doc/get_trainlines.sh @@ -0,0 +1,7 @@ +#!/bin/sh +curl -X POST -k -H 'Content-Type: application/json' 'https://pandorabox.io/map/api/mapobjects/' --data '{ + "type":"train", + "pos1":{"x":-2048,"y":-2048,"z":-2048}, + "pos2":{"x":2048,"y":2048,"z":2048} +}' | jq +