freeconf/restconf

RPC inputs are not supported as per RFC

pdumais opened this issue · 1 comments

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"
 }

fixed on compliance branch