add GET /api/info -> JSON {"uptimes":n, "build":"build time"}

This commit is contained in:
btsimonh
2022-02-13 08:46:58 +00:00
parent ccc2f92f6e
commit 785d190689
3 changed files with 17 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ extern const char htmlReturnToMenu[];
extern const char *htmlPinRoleNames[];
extern const char *g_build_str;
#define HTTP_RESPONSE_OK 200
#define HTTP_RESPONSE_NOT_FOUND 404