HTTP requests with Hyper with Parameters

If you want to see an example that parses some json that does not contain an error, I will need an URL that doesn't just return an error. But suffice it to say that parsing errors and successful responses is done in the same manner.

Thank you very much @alice but next time I won't use hyper I will use reqwest because I spent more time fixing errors then actually programming this request

Reqwest is certainly easier to use, yes.