aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/builtinurl
AgeCommit message (Collapse)AuthorFilesLines
2020-01-10docs: Edit FEATURE.yaml files so they can be publishedJohn DeNisco1-2/+2
Type: docs Signed-off-by: John DeNisco <jdenisco@cisco.com> Change-Id: I7280e5c5ad10a66c0787a5282291a2ef000bff5f
2020-01-02http_static: add FEATURE.yamlDave Barach1-0/+13
Type: docs Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: I2f9a74541183af6c10abea2c29002842ddb88815
2019-10-17http_static: pass http request type to builtin handlersDave Barach1-31/+58
Makes it easy to tell GETs from POSTs, etc., in case one wants to register the same handler for multiple request types. Return interface stats as a json array, makes .js code a lot simpler. Type: refactor Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: Iadae7b909cf3e8ea179fe93620737fdf68f888ac
2019-10-10http_static: add .json contentDave Barach1-2/+53
Type: feature Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: Ibf8583175c181dc12a589b3e6c11a10ee77fc160
2019-09-27builtinurl: remove api boilerplateOle Troan5-213/+9
Type: refactor Change-Id: Iaf728642e489acfd63e1da88aa8daa44ceca21e9 Signed-off-by: Ole Troan <ot@cisco.com>
2019-09-18builtinurl: initial working attemptDave Barach8-0/+666
Note that the builtin URLs are disabled by default. To activate, "builtinurl enable" or use the builtinurl_enable API. See .../extras/http/sample.md for some Hugo-friendly .md w/ embedded Javascript that accesses the builtin URLs. Type: feature Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: I6d82d9292c41d6d2d90be73ba8a1a043fb20c986