User user = given()
.when()
.get("https://reqres.in/api/unknown/2")
.then()
.extract()
.jsonPath()
.getObject("data", User.class);
This is a quick tutorial explaining how to get a static website hosted on Heroku.
Why do this?
Heroku hosts apps on the internet, not static websites. To get it to run your static portfolio, personal blog, etc., you need to trick Heroku into thinking your website is a PHP app. This 6-step tutorial will teach you how.