volpe/posts/drafts/make-your-api-better.md

358 B

  • I am tired of poorly built API's
    • Use your HTTP methods correctly
    • use path params for mandatory primitives, query params for optional ones, and bodies for everything else
    • stop making objects with dynamic keys
    • REST isn't JSON api's learn what representative state transfer means (its just functional programming but split over multiple machines)