Sign in
Log inSign up

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? 🙂

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct