request.sh 244 B

1234567891011
  1. #!/bin/bash
  2. set -e
  3. curl http://localhost:8001 -d "op=set_input&username=user_manager&element_type=V&value=\"test\""
  4. sleep 0.5
  5. while true
  6. do
  7. echo ""
  8. curl http://localhost:8001 -d "op=get_output&username=test&element_type=V&value="
  9. done