pysalx/scripts/pysalx-api-test

15 lines
278 B
Bash
Executable File

#!/bin/bash
# Do Analyzer test via API
# XXX kruft
SCIAPSIP=`cat ~/.sciaps-ip`
SCIAPSPORT=`cat ~/.sciaps-port`
curl \
-X POST \
-H "Content-Type: application/json" \
-d '{}' \
--output output.json \
http://$SCIAPSIP:$SCIAPSPORT/api/v2/test