mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-30 10:13:04 +05:00
Accept form submissions alongside the existing JSON sensor value endpoint for compatibility with the manual sensor use case discussed in PR #270. Support named value and unnamed body parameters with strict numeric parsing and bounded input lengths. Preserve authentication, unit conversion, MQTT publication and noresponse handling. Share payload trimming and numeric parsing between HTTP and MQTT instead of maintaining separate parser implementations. Refs #270