 
 #<-- Addon: FS | Path: /fs -->#
 
+api.post('/fs/readfile', (req, res, next) ->
+    api.fs.readFile(req.body.path, (err, content) ->
+        next.ifError(err)
+        api.response(req, res, next, content)
+    )
+)
 
 #<-- Addon: OS | Path: /os/users -->#
 

)


api.connect(8080)


    enabled: false
})

# => BodyParser

api.bodyParser({
    enabled: true
})


# ´´´´´´´ DEMO ROUTES ´´´´´´´

#<-- Desc: Health-Status | Path: /heartbeat -->#

# Simple GET-Response

api.get('/heartbeat', (req, res, next) ->
    api.response(req, res, next, "dub")
)

# Simple POST-Response
# Access POST-values via req.body.value

api.post('/heartbeat', (req, res, next) ->
    api.response(req, res, next, req.body)
)


# ´´´´´´´ ADDON ROUTES ´´´´´´´
# Each route correspondens to an addon
# Check the src/addon/ folder for more information

#<-- Addon: Net | Path: /net -->#

