简体   繁体   English

实时HTTP流编写控制台

[英]Real-time HTTP stream writing console

Is there a program available that will allow me to interactively write HTTP stream data and send it to a server? 是否有可用的程序允许我以交互方式编写HTTP流数据并将其发送到服务器? Ideally I'm looking for a console app that will allow me to type or paste HTTP headers and body, send it to my server, and get the response headers and body back. 理想情况下,我正在寻找一个控制台应用程序,它允许我键入或粘贴HTTP标头和正文,将其发送到我的服务器,并获取响应标头和正文。

Does such a program already exist? 这样的程序是否已经存在?

I'm running W7 64-bit with .NET 4.0. 我用.NET 4.0运行W7 64位。

if you change your mind and want a GUI app 如果你改变主意并想要一个GUI应用程序

http://code.google.com/p/rest-client/ http://code.google.com/p/rest-client/

or you can also use fiddler 或者你也可以使用小提琴手

Edit: 编辑:

http://code.google.com/p/rest-client/ also supports commandline http://code.google.com/p/rest-client/也支持命令行

Maybe telnet is an option for you? 也许telnet是你的选择? If it's not already installed on your machine, take a look at this guide from MS. 如果您的计算机上尚未安装,请查看MS的本指南

To connect to your server use it like this: 要连接到您的服务器,请使用如下:

telnet www.myserver.de 80

After the connection is established, you can paste your HTTP GET reqests or what ever you like. 建立连接后,您可以粘贴HTTP GET请求或您喜欢的任何内容。

tinyget is a useful MSFT tool that will make simple get requests. tinyget是一个有用的MSFT工具,可以生成简单的get请求。 You can store these requests in text files and stream them in. 您可以将这些请求存储在文本文件中并将其流式传输。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM