Skip to content
Browse files


  • Loading branch information...
1 parent 14085f4 commit 686af948b908ed2853b63be0a4aca2929513cd07 @calebphillips committed
Showing with 10 additions and 1 deletion.
  1. +10 −1
@@ -6,8 +6,9 @@ Includes an HTTP service:
* Is available only over HTTPS
* Requires Basic Authentication (hard coded username/password = fred/flintstone)
-* Responds to requests matching **/locations/:location_id** for any HTTP verb
+* Responds to requests matching **/locations/:location_id** using PUT, GET or DELETE
* Generates responses with random status codes from this list and includes the location_id in the body
+* Uses a Ring middleware to log the moving average and variance of the returned status codes to standard out.
## Usage
@@ -24,6 +25,14 @@ I used curl to access the service:
curl -I -X PUT --insecure --user fred:flintstone https://localhost:8443/locations/123
+I have also included scripts for common cases:
## License
Copyright (C) 2012 Caleb Phillips

0 comments on commit 686af94

Please sign in to comment.
Something went wrong with that request. Please try again.