pysalx/scripts/pysalx-api-test

15 lines
278 B
Plaintext
Raw Permalink Normal View History

2022-01-25 14:01:57 -07:00
#!/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