#!/usr/bin/env bash

set -e

for i in {1..150}
do
curl -X POST \
  http://localhost:8001/apis \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d name=api-${i} \
  -d uris=/path-${i} \
  -d upstream_url=http://foo.bar
done
