CenterForDigitalHumanities / CenterForDigitalHumanities/TinyNode

/delete responses

Open
#89 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
1
Forks
3
Avg merge
29m
Merged PRs (30d)
1

Description

The delete endpoint has some strange response handling.

A delete request without a body (that contains an @id) or an id in the URL pattern should be a 400. This is because RERUM should respond 400. However, the response is currently a 204 even though no delete occurred.

![image](https://github.com/CenterForDigitalHumanities/TinyNode/assets/3287006/e2465185-4dad-457e-8b44-eca16d962e98)

Investigate both TinyNode and RERUM for inconsistencies.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.