我运行下面:
curl -XPOST
https://openapi.youku.com/v2/oauth2/token --data-urlencode client_id=d58483641069b453 --data-urlencode client_secret=d660f3b635fe430ec182c697d60bb864 --data-urlencode grant_type=password --data-urlencode username=mayuyudeath --data-urlencode password=akb48death --data-urlencode redirect_uri=http://localhost:3000/oauth2/callback
结果返回这个:
{"error":{"code":130011205,"type":"OAuth2Exception","description":"The client is not authorized to request an authorization using this method"}}