Support returning a HTTP status code for the http stubs for testing

This commit is contained in:
Simon Poole 2016-02-25 16:32:14 +01:00
parent 05cd781b25
commit 8283a39dbc
6 changed files with 351 additions and 323 deletions

View file

@ -1,2 +1,6 @@
/service/csv?zip=90210: "34.088808, -118.40612, Beverly Hills, CA, 90210"
/service/csv?zip=00000: "1: couldn't find this zip code: 00000! sorry"
/service/csv?zip=90210:
code: 200
body: "34.088808, -118.40612, Beverly Hills, CA, 90210"
/service/csv?zip=00000:
code: 200
body: "1: couldn't find this zip code: 00000! sorry"