Update sample.py

Updated oauth2.request call and the the url_params