如何将 HTTP(而非 HTTPS)与 RequestBin 结合使用

2024-06-22

我想使用请求Bin https://requestb.in用于 HTTP(而非 HTTPS)调试的工具。但是,它似乎不支持它,例如:

$ curl http://requestb.in/1eqnllm1 -vvvv
* Hostname was NOT found in DNS cache
*   Trying 104.31.87.204...
* Connected to requestb.in (104.31.87.204) port 80 (#0)
> GET /1eqnllm1 HTTP/1.1
> User-Agent: curl/7.38.0
> Host: requestb.in
> Accept: */*
> 
< HTTP/1.1 301 Moved Permanently
< Date: Tue, 23 May 2017 09:56:28 GMT
< Transfer-Encoding: chunked
< Connection: keep-alive
< Set-Cookie: __cfduid=ddf08bf899d8bb92e06630f02f37f0f471495533388; expires=Wed, 23-May-18 09:56:28 GMT; path=/; domain=.requestb.in; HttpOnly
< Cache-Control: max-age=3600
< Expires: Tue, 23 May 2017 10:56:28 GMT
< Location: https://requestb.in/1eqnllm1
< X-Content-Type-Options: nosniff
* Server cloudflare-nginx is not blacklisted
< Server: cloudflare-nginx
< CF-RAY: 3637253d814f0de1-MAD
< 
* Connection #0 to host requestb.in left intact

我想得到一个200 OK not a 302 Moved Permanently

请问有什么方法可以配置 RequestBin 以这种方式工作吗?我浏览了网页,但没有找到任何东西......

也欢迎能够使用 HTTP 的 RequestBin 替代方案。


我也刚打到这个在 Twitter 上说他们已经改为仅使用 https。https://twitter.com/johnsheehan/status/865646082654584832 https://twitter.com/johnsheehan/status/865646082654584832

打算试试这个->http://putsreq.com/ http://putsreq.com/

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

如何将 HTTP(而非 HTTPS)与 RequestBin 结合使用 的相关文章

随机推荐