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

Resource CREATE through REST webservice doesn't seem to work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.6
    • 3.0-incubating
    • Web Services
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: