Skip to content
This repository has been archived by the owner on May 14, 2020. It is now read-only.

Use 201 Created rather than 204 No Content #112

Merged
merged 2 commits into from
Dec 16, 2019

Conversation

thewilkybarkid
Copy link
Contributor

Currently adding a new article sees a 204 No Content response. This was temporary as the articles aren't currently separate resources. However, it doesn't tell clients to go back to the collection. This changes the response to 201 Created and sets the Location header.

Relies on #111 to make the body actually empty.

Extracted from #104.

@thewilkybarkid thewilkybarkid merged commit 053b594 into libero:master Dec 16, 2019
@thewilkybarkid thewilkybarkid deleted the created-link branch December 16, 2019 13:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🆕 Feature A new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant