Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1249

It's possible to do POST to element to list with mismatching IDs in data and URI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • None
    • None
    • restconf
    • None
    • Operating System: Linux
      Platform: PC

    • 2981

      Sending request to http://localhost:8181/restconf/config/opendaylight-inventory:nodes/node/2 with data:
      {
      "id": 1
      }

      Returns response 204 No Content

      And GET on URI http://localhost:8181/restconf/config/opendaylight-inventory:nodes returns data:
      {
      "nodes": {
      "node": [

      { "id": "2" }

      ]
      }
      }

      I'm not sure if this is expected behaviour?

            vdemcak@cisco.com Vaclav Demcak
            jsebin@cisco.com Juraj Sebin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: