static file and JSON endpoint http server