lhx2008
V2EX  ›  问与答

怎么样方便地带 header 批量 post?

  •  
  •   lhx2008 · Dec 6, 2014 · 2992 views
    This topic created in 4374 days ago, the information mentioned may be changed or developed.
    header、post内容很多,用curl好不方便,用fiddler可以成功post,curl几次都没有成功,也不好批量弄,有什么解决方法么?
    5 replies  •  2014-12-07 00:52:15 +08:00
    satanwoo
    satanwoo
    Dec 6, 2014
    1
    postman
    satanwoo
    satanwoo
    Dec 6, 2014
    2
    回错了,无视我。。
    jedihy
    jedihy
    Dec 7, 2014 via iPhone
    3
    curl不应该会有问题的,很多这样的软件都是个基于curl
    laobubu
    laobubu
    Dec 7, 2014❤️1
    4
    其实遇到这种问题我喜欢用 PHP 写一个 curl 的程序,如果实在不行的话,而且用的只是 http ,大不了自己写一个啥脚本批量地:
    1. 创建 TCP 连接到 80 端口
    2. 自己写 POST /xxxx HTTP/1.1 那啥的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2179 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 02:34 · PVG 10:34 · LAX 18:34 · JFK 21:34
    ♥ Do have faith in what you're doing.