 
                 ;; POST to URL a JSON block
                 (let [response
-                      @(post-resource (format "http://%s:%d%s" host port measurements-uri)
+                      (post-resource (format "http://%s:%d%s" host port measurements-uri)
                                       "application/json"
                                       (jsonify {:measurements
                                                 (map

              (let [sensors (generators/generate-sensor-sample "CUMULATIVE" 1)

                    response
                    @(post-resource
                      (format "http://%s:%d%s" host port
                              (path-for (-> system :hecuba/routing :jig.bidi/routes)
                                        (-> system :amon/handlers :devices) :entity-id entity-id))

                )))


                )))
    system)

  (stop [_ system] system))

