My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

What status code do you send when there is a no-op?

Abinav Seelan's photo
Abinav Seelan
·Dec 29, 2017

Let's say I'm building a note-taking app and I periodically sync the note's content with the server. If there is a diff, then the content is stored, else ignored.

What would be the ideal status code to send back if there is no diff and no operation is performed? 🙂