Added original /put/ api

- does not yet log to db
This commit is contained in:
sm
2013-12-20 23:37:17 -08:00
parent f29d9f7e5e
commit fdbdb037c6
2 changed files with 46 additions and 0 deletions
+1
View File
@@ -24,6 +24,7 @@ func main() {
log.Printf("%+v", config)
http.Handle("/api/v0/info/", JsonHandler(apiInfo))
http.Handle("/api/v0/put/", JsonHandler(put))
err = http.ListenAndServe(fmt.Sprintf(":%d", config.Port), nil)
if err != nil {