Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-291

post request allows to send data which already exists

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • restconf-nb
    • None
    • Operating System: All
      Platform: All

    • 6936

    Description

      Request Post
      URI:
      http://localhost:8080/restconf/17/data

      Body:
      {
      "cars" : {
      "car-entry": [

      { "year": "54688", "model": "string", "id": "some id", "category": "strhing", "manufacturer": "string" }

      ]
      }
      }

      next with same uri and body
      {
      "cars" : {
      "car-entry": [

      { "year": "1111", "model": "diff", "id": "some id", "category": "diff", "manufacturer": "diff" }

      ]
      }
      }

      should not allow. it should respond with data already exist.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              miroslav.kovac@pantheon.tech Miroslav Kovac
              miroslav.kovac@pantheon.tech Miroslav Kovac
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: