Skip to content

astorDev/nist

Repository files navigation

NIST - Nice State Transfer

NIST is a non-arrogant brother of REST. Tired of hearing what your HTTP API must do to become REST? To be NIST an HTTP API needs to do only 3 things:

  1. Use different URIs for different operations/requests
  2. Utilize GET for read and other verbs for write.
  3. Use 2xx codes for success and other codes for errors.

And even if an API breaks a rule a few times - that's okay, it's still NIST.

We also have packages!

NIST is a software architectural style. But the project also provides a handful of packages, aiming to help you create and consume HTTP APIs, especially the NIST ones: