PHPnews.io

Overview for 'evertpot'


Ketting v5 released

Written by Evert Pot / Original link on Nov. 22, 2019

I just released Ketting version 5. Ketting is a generichypermedia/HATEOAS client for Javascript and Typescript, for browsers andNode.js.It’s been a while since I last blogged about this in January, so I thoughtit might be nice to talk about all the things that have changed since then.These are the …



Better typing with Ketting

Written by Evert Pot / Original link on Oct. 21, 2019

Ketting is a generic hypermedia client that supports HAL, HTML, JSON-API,and HTTP Links (and soon also Siren).Version 5 is currently in development, and one of the major new features ismuch deeper support for Typescript typing.Here’s how it works.Normally to get to a resource, you start with a book…


Structured headers NPM package: new version

Written by Evert Pot / Original link on Oct. 4, 2019

I just updated my structured-headers package to be up to date withthe latest verison of the Structured headers IETF draft.If you do anything with HTTP, structured headers might be something you haveto deal with in the future.Many HTTP headers encode complex values, and many HTTP headers have their …


Authentication relation types

Written by Evert Pot / Original link on Oct. 2, 2019

When you’re building Hypermedia-style services, you might have used theIANA link relation types list to find appropriate, generic keywordsfor your rel="" attributes.This list is the official registry for relation types such as collection,next, canonical and others.I had a need for adding a few gene…