freeconf / restconf

Implementation of RESTCONF Management protocol - IETF RFC8040

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RPC inputs are not supported as per RFC

pdumais opened this issue · 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