Made the method code a bit better. Added to docstring for fetch_token method. Raise ValueError if not GET or POST.