15 lines
278 B
Plaintext
15 lines
278 B
Plaintext
|
#!/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
|
||
|
|