zoukankan      html  css  js  c++  java
  • Fiddler响应post的请求 request body里面填写什么?

    若是想传json格式的数据,请求头可以这样写:(应该先勾选 post,然后写上正确滴请求地址)
    User-Agent: Fiddler
    Host: localhost:1455 <span style="color:#ff6666;"> 当然这个地方应该是你本地滴服务</span>
    Content-Type: application/json; charset=utf-8
    Content-Length: 38

    request body这样写:
    {"参数名":"参数值","参数名":"参数值",...}

    若是传的不是json数据,请求头可以这样写:
    User-Agent: Fiddler
    Host: localhost:1455
    Content-Type: application/x-www-form-urlencoded;<span style="font-family: Arial, Helvetica, sans-serif;">charset=utf-8 </span>
    Content-Length: 38

    request body这样写:
    name1=valule1&name2=value2...

    注意事项:
    在Fiddler2模拟POST请求的时候,在请求头的输入框里面,需要设置 ContentType:application/x-www-form-urlencoded
    Content-Type设置的很重要,设置的和request body里面的数据类型不一致,就不能传

    Fiddler是最强大最好用的Web调试工具
    http://www.cnblogs.com/dudu837/p/4323040.html

    如何使用Fiddler对Android应用进行抓包
    http://blog.csdn.net/zhangxing52077/article/details/53677864

  • 相关阅读:
    re | [SWPU2019]ReverseMe
    wp | re | 2020“巅峰极客”网络安全技能挑战赛
    re | [CFI-CTF 2018]IntroToPE
    re | [FlareOn1]Bob Doge
    re | [ACTF新生赛2020]SoulLike
    re | [GKCTF2020]Chelly's identity
    ospf配置与ofps选举DR/BDR
    静态路由的配置
    配置三层交换机实现vlan间通信
    hybrid接口
  • 原文地址:https://www.cnblogs.com/bluestorm/p/6168543.html
Copyright © 2011-2022 走看看