def transact(dbname, data)
      data = transmute_data(data)
      RestClient.post(db_url(dbname) + "/", {"tx-data" => data},
                      :Accept => 'application/edn', &HANDLE_RESPONSE)
    end
def transact(dbname, data)
      data = transmute_data(data)
      RestClient.post(db_url(dbname) + "/", {"tx-data" => data},
                      :Accept => 'application/edn', &HANDLE_RESPONSE)
    end
Data can be a ruby data structure or a string representing clojure data