12 lines
405 B
Plaintext
12 lines
405 B
Plaintext
|
#!/bin/bash
|
||
|
# Acquire a sample via API
|
||
|
|
||
|
# XXX kruft
|
||
|
SCIAPSIP=`cat ~/.sciaps-ip`
|
||
|
SCIAPSPORT=`cat ~/.sciaps-port`
|
||
|
|
||
|
#curl -X POST -H "Content-Type: application/json" -d @settings.json --output output.json http://192.168.1.1:8080/api/v2/acquire/all?mode=Alloy
|
||
|
|
||
|
curl -X POST -H "Content-Type: application/json" -d @settings.json --output output.json http://$SCIAPSIP:$SCIAPSPORT/api/v2/acquire/all?mode=Alloy
|
||
|
|