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等隐私数据


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

查看所有标签

猜你喜欢:

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

Getting Started with C++ Audio Programming for Game Development

Getting Started with C++ Audio Programming for Game Development

David Gouveia

Written specifically to help C++ developers add audio to their games from scratch, this book gives a clear introduction to the concepts and practical application of audio programming using the FMOD li......一起来看看 《Getting Started with C++ Audio Programming for Game Development》 这本书的介绍吧!

MD5 加密
MD5 加密

MD5 加密工具

html转js在线工具
html转js在线工具

html转js在线工具