github.com/iron-io/functions@v0.0.0-20180820112432-d59d7d1c40b2/examples/twitter/test.sh (about)

     1  #!/bin/bash
     2  set -x
     3  
     4  ./build.sh
     5  
     6  PAYLOAD='{"username": "getiron"}'
     7  
     8  # test it
     9  echo $PAYLOAD | docker run --rm -i iron/func-twitter