简体   繁体   中英

Send a raw HTTP request

I am looking for a way to send raw HTTP requests, ie from a string containing the full request. It seems XmlHttpRequest does not provide such a method.

My final need is to "forward" HTTP requests by executing them and receiving their answers as a string too.

Any idea of what could I use ?

Chrome应用程序可以使用chrome.socket打开TCP连接,您可以发送原始请求。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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