如何在RequestBin中使用HTTP(不是HTTPS) [英] How to use HTTP (not HTTPS) with RequestBin

查看:238
本文介绍了如何在RequestBin中使用HTTP(不是HTTPS)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用 RequestBin 工具进行HTTP(非HTTPS)调试。但是,它似乎不支持它,例如:

I would like to use the RequestBin tool for HTTP (not HTTPS) debugging. However, it seems that it doesn't support it, e.g:

$ 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 不是 302永久移动

有没有请求RequestBin以这种方式工作的方式吗?我已经浏览了网页,但我找不到任何东西......

Is there any way of configuring RequestBin to work that way, please? I have looked arround the web page, but I haven't find anything...

欢迎使用RequestBin替代能够使用HTTP。

RequestBin alternative able to work with HTTP are also welcome.

推荐答案

我也是这样打的。在Twitter上说他们只转移到https。
https://twitter.com/johnsheehan/status/865646082654584832

I just hit this too. Says on twitter they've moved to https only. https://twitter.com/johnsheehan/status/865646082654584832

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

这篇关于如何在RequestBin中使用HTTP(不是HTTPS)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆