Fundebug前端JavaScript插件更新至1.3.0

栏目: JavaScript · 发布时间: 7年前

内容简介:摘要:将setHttpBody属性设为true,即可以上报HTTP请求错误的body参数。为了保护隐私,默认情况下,Fundebug插件不会上报HTTP请求的body参数。但是,有时这会影响用户Debug,所以1.3.0插件新增了setHttpBody配置属性:

摘要:将setHttpBody属性设为true,即可以上报HTTP请求错误的body参数。

Fundebug前端JavaScript插件更新至1.3.0

为了保护隐私,默认情况下,Fundebug插件不会上报HTTP请求的body参数。但是,有时这会影响用户Debug,所以1.3.0插件新增了setHttpBody配置属性:

  • 在HTML中配置 <script> 标签中配置setHttpBody属性
<script src="https://js.fundebug.cn/fundebug.1.3.0.min.js" 
            apikey="API-KEY" 
            setHttpBody=true></script>
  • 在JavaScript中配置setHttpBody变量
fundebug.setHttpBody = true;

当setHttpBody设为true时, Fundebug将会收集HTTP请求的body参数,并过滤掉password等隐私数据


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Learn Python 3 the Hard Way

Learn Python 3 the Hard Way

Zed A. Shaw / Addison / 2017-7-7 / USD 30.74

You Will Learn Python 3! Zed Shaw has perfected the world’s best system for learning Python 3. Follow it and you will succeed—just like the millions of beginners Zed has taught to date! You bring t......一起来看看 《Learn Python 3 the Hard Way》 这本书的介绍吧!

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

URL 编码/解码
URL 编码/解码

URL 编码/解码

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换