[英]How to use HTTP (not HTTPS) with RequestBin
I would like to use the RequestBin tool for HTTP (not HTTPS) debugging. 我想使用RequestBin工具进行HTTP(而不是HTTPS)调试。 However, it seems that it doesn't support it, eg:
但是,它似乎不支持它,例如:
$ 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
I want to get a 200 OK
not a 302 Moved Permanently
我想获得
200 OK
而不是302 Moved Permanently
Is there any way of configuring RequestBin to work that way, please? 有没有办法配置RequestBin以这种方式工作,拜托? I have looked arround the web page, but I haven't find anything...
我看了一下网页,但我找不到任何东西......
RequestBin alternative able to work with HTTP are also welcome. RequestBin替代能够使用HTTP也是受欢迎的。
I just hit this too. 我也打了这个。 Says on twitter they've moved to https only.
在twitter上说他们只转移到了https。 https://twitter.com/johnsheehan/status/865646082654584832
https://twitter.com/johnsheehan/status/865646082654584832
Going to try this -> http://putsreq.com/ 试试这个 - > http://putsreq.com/
您可以使用https://www.mocky.io进行http响应,因为putsreq.com不再支持http。
You can try http://requestbin.net/ 你可以试试http://requestbin.net/
It is similar to requestb.in and supports http. 它类似于requestb.in并支持http。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.