home.social

#hateoas โ€” Public Fediverse posts

Live and recent posts from across the Fediverse tagged #hateoas, aggregated by home.social.

  1. I randomly followed Fayner years ago via rss because I liked her writing about REST API's and here is another one primer on #ReST and #HATEOAS. As a consumer of #APIs I struggled with many of the points she says developers leave out.

    Also, I love #JSON for some unknown reason.

    fagnerbrack.com/what-is-a-rest

  2. URLs should be able to include HTTP verbs and headers.

    They say "URLs define the "what" not the "how"" but protocol prefixes, file extensions, and query parameters are part of the how and yet they all exist in the URL.

    Leaving HTTP verbs and headers out of URLs was an arbitrary decision.

    #web #http #hypermedia #hateoas #webStandards #html #programming #networking

  3. @b0rk @randomgeek @hbuchel Itโ€™s funny how most โ€œ#RESTfulโ€ #WebServices have similarly missed the full point of @fieldingโ€™s actual #REST โ€œjust normal web thingsโ€ style by not using hypertext as the engine of application state (#HATEOAS).

    Theyโ€™re just replaying all of #SOAPโ€™s and #CORBAโ€™s sins by relying on a fixed interface that is either revealed through documentation or an #InterfaceDescriptionLanguage like #OpenAPI.