簡體   English   中英

如何在RequestBin中使用HTTP(不是HTTPS)

[英]How to use HTTP (not HTTPS) with RequestBin

我想使用RequestBin工具進行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而不是302 Moved Permanently

有沒有辦法配置RequestBin以這種方式工作,拜托? 我看了一下網頁,但我找不到任何東西......

RequestBin替代能夠使用HTTP也是受歡迎的。

我也打了這個。 在twitter上說他們只轉移到了https。 https://twitter.com/johnsheehan/status/865646082654584832

試試這個 - > http://putsreq.com/

您可以使用https://www.mocky.io進行http響應,因為putsreq.com不再支持http。

你可以試試http://requestbin.net/

它類似於requestb.in並支持http。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM