Consume any RESTful API with just a few lines of JavaScript