Skip to content

Cannot delete a resource in live demo #16

Description

@sh41

Steps to reproduce:

$ curl -D - -s -X DELETE "https://demo.api-platform.com/books/2" -H  "accept: application/json"
HTTP/2 500
date: Sun, 30 Jul 2017 11:06:12 GMT
content-type: application/problem+json; charset=utf-8
content-length: 122
set-cookie: __cfduid=d074e5de5bce897bc9de63740d76736a71501412772; expires=Mon, 30-Jul-18 11:06:12 GMT; path=/; domain=.api-platform.com; HttpOnly
x-powered-by: PHP/7.1.2
x-content-type-options: nosniff
x-frame-options: deny
cache-control: no-cache, private
link: <http://demo.api-platform.com/docs.jsonld>; rel="http://www.w3.org/ns/hydra/core#apiDocumentation"
x-varnish: 988692
age: 0
via: 1.1 varnish-v4
server: cloudflare-nginx
cf-ray: 3867d8e6d9c50a6c-LHR

{"type":"https:\/\/tools.ietf.org\/html\/rfc2616#section-10","title":"An error occurred","detail":"Internal Server Error"}

Expected behaviour: 200 OK response and the resource is deleted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions