mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-08-31 19:08:29 +00:00
fix: minor Web API enhancements
* changed path for DevJson to include the device key instead of requiring it in the body * Made the `GetRequestBody` method an extension method for the `HttpCwsRequest` class
This commit is contained in:
parent
5afdc2effa
commit
effefc939c
7 changed files with 41 additions and 15 deletions
|
|
@ -89,7 +89,7 @@ namespace PepperDash.Essentials.Core.Web
|
|||
Name = "DevList",
|
||||
RouteHandler = new DevListRequestHandler()
|
||||
},
|
||||
new HttpCwsRoute("deviceCommands")
|
||||
new HttpCwsRoute("deviceCommands/{deviceKey}")
|
||||
{
|
||||
Name = "DevJson",
|
||||
RouteHandler = new DevJsonRequestHandler()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue