Example of embedding rest-browser into an API