Uploaded image for project: 'Marmotta (Retired)'
  1. Marmotta (Retired)
  2. MARMOTTA-94

Resource CREATE through REST webservice doesn't seem to work

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.6
    • Fix Version/s: 3.0-incubating
    • Component/s: Web Services
    • Labels:
      None
    • Environment:

      Default H2 configuration

      Description

      After creating a resource with 201 Created response, DELETE says 404 Not Found.

      To reproduce:

      $ curl -i -X POST http://localhost:8080/LMF/resource/1234

      HTTP/1.1 201 Created
      Server: Linked Media Framework/RUNTIME (build 0)
      Location: http://localhost:8080/LMF/resource/1234
      Vary: Content-Type
      Content-Type: /
      Content-Length: 39
      Date: Mon, 18 Feb 2013 16:43:01 GMT

      $ curl -i -X DELETE http://localhost:8080/LMF/resource/1234

      HTTP/1.1 404 Not Found
      Server: Linked Media Framework/RUNTIME (build 0)
      Content-Length: 0
      Date: Mon, 18 Feb 2013 16:43:07 GMT

        Attachments

          Activity

            People

            • Assignee:
              wikier Sergio Fernández
              Reporter:
              szabyg Szaby Grünwald
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: