• 请不要在回答技术问题时复制粘贴 AI 生成的内容
only0jac
V2EX  ›  程序员

贴图库的 api 好奇怪

  •  
  •   only0jac · Apr 10, 2017 via Android · 2708 views
  •   You need to sign in to view this topic
    This topic created in 3524 days ago, the information mentioned may be changed or developed.
    他们的 token 是在线生成的,就像他官方给的例子, token 固定且放在页面上,这岂不是任何人都能往他相册里传图片
    4 replies  •  2017-04-10 20:57:48 +08:00
    cnlongxi
    cnlongxi
    Apr 10, 2017 via iPhone
    1
    登录账号才能看到 token 的呀。
    nifury
    nifury
    Apr 10, 2017
    2
    这个应该是前端提交请求给后端,后端通过 token 上传,所以不公开展示
    (我猜的
    ericls
    ericls
    Apr 10, 2017 via iPhone
    3
    @nifury 万一被别人知道 都没办法 revoke
    akira
    akira
    Apr 10, 2017
    4
    每个账号看到的 token 是不一样的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1101 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 23:06 · PVG 07:06 · LAX 15:06 · JFK 18:06
    ♥ Do have faith in what you're doing.