pysalx/scripts/pysalx-api-config

11 lines
183 B
Bash
Executable File

#!/bin/bash
# Get Analyzer Configuration via API
# XXX kruft
SCIAPSIP=`cat ~/.sciaps-ip`
SCIAPSPORT=`cat ~/.sciaps-port`
curl \
http://$SCIAPSIP:$SCIAPSPORT/api/v2/config