def oauth_async_req_json(method, url, params = None, headers = {}, expects = [200]):
	headers['Authorization'] = 'Bearer %s' % get_token()
	if params:
		params = json.dumps(params)
		headers['Content-type'] = 'application/json; charset=UTF-8'	
	return http.async_req_json(method, url, params, headers, expects)
dataset/ETHPy150Open murer/dsopz/dsopz/oauth.py/oauth_async_req_json/original