#!/bin/bash curl -i -X POST \ --url http://localhost:8001/services/ \ --data 'name=kongtest' \ --data 'url=http://mockbin.org' curl -i -X POST \ --url http://localhost:8001/services/kongtest/routes \ --data 'hosts[]=example.com' curl -X POST http:/localhost:8001/plugins/ \ --data "name=statsd" \ --data "config.host=127.0.0.1" \ --data "config.port=9125" \ --data "config.prefix=kong.production"