blob: e0f1d0f195a5338b73cd9a4b526c2008987c9026 [file] [log] [blame]
Gary Wu9abb61c2018-09-27 10:38:50 -07001#!/bin/bash
2
3# $1 is the IP address of the DRPS (Data Router Provisioning Server) mock server
4
5curl -v -X PUT -d @- http://$1:1080/expectation << EOF
6{
7 "httpRequest": {
8 "method": "GET",
9 "path": "/hello"
10 },
11 "httpResponse": {
12 "body": "Hello world!",
13 "statusCode": 200
14 }
15}
16EOF
17