This is a simple example of how to fetch a json through an http request.