Szaby Grünwald created MARMOTTA-94:
--------------------------------------

             Summary: Resource CREATE through REST webservice doesn't seem to 
work
                 Key: MARMOTTA-94
                 URL: https://issues.apache.org/jira/browse/MARMOTTA-94
             Project: Marmotta
          Issue Type: Bug
          Components: Web Services
    Affects Versions: 2.6
         Environment: Default H2 configuration
            Reporter: Szaby Grünwald
            Assignee: Thomas Kurz
             Fix For: 3.0-incubating


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


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to