roroco
V2EX  ›  问与答

优酷上传 api 调用问题

  •  
  •   roroco · Mar 6, 2014 · 4259 views
    This topic created in 4478 days ago, the information mentioned may be changed or developed.
    我运行下面:
    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"}}
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5356 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 06:02 · PVG 14:02 · LAX 23:02 · JFK 02:02
    ♥ Do have faith in what you're doing.