V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
coolair
V2EX  ›  程序员

有什么接口调试工具可以设置变量,并且在请求后自动更新变量?

  •  
  •   coolair · 170 天前 · 704 次点击
    这是一个创建于 170 天前的主题,其中的信息可能已经有所发展或是发生改变。
    离线工具,不登录就能使用的。
    4 条回复    2023-11-14 14:56:42 +08:00
    PlanV
        1
    PlanV  
       170 天前
    postman 、apipost 等等这些不是都可以吗?
    zhcode
        2
    zhcode  
       170 天前
    vscode 插件 - REST Client
    leoQaQ
        3
    leoQaQ  
       170 天前
    如果需求不大的话是否可以自己写个脚本?
    Varobjs
        4
    Varobjs  
       170 天前
    postman - tests 脚本中



    let ret = pm.response.json();

    pm.globals.set("token", ret.data.access_token);
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2382 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 14:46 · PVG 22:46 · LAX 07:46 · JFK 10:46
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.