freeconf / restconf

Implementation of RESTCONF Management protocol - IETF RFC8040
Apache License 2.0
29 stars 9 forks source link

RPC inputs are not supported as per RFC #5

Closed pdumais closed 1 year ago

pdumais commented 2 years ago

The RFC shows that the data being posted as inputs to a RPC call should be embeded in an object called "input" as shown below

{
        "example-ops:input" : {
          "delay" : 600,
          "message" : "Going down for system maintenance",
          "language" : "en-US"
        }
      }

It seems that freeconf only supports posting the payload directly such as

{
          "delay" : 600,
          "message" : "Going down for system maintenance",
          "language" : "en-US"
 }
dhubler commented 1 year ago

fixed on compliance branch