Interact with a Rest-API. Works on client and server (node.js).