From eac813b63b596d65d71d918a5a2daf7a7a519322 Mon Sep 17 00:00:00 2001 From: wchen-r7 Date: Tue, 21 Oct 2014 09:04:31 -0700 Subject: [PATCH] Updated How to Send an HTTP Request Using HTTPClient (markdown) --- How-to-Send-an-HTTP-Request-Using-HTTPClient.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/How-to-Send-an-HTTP-Request-Using-HTTPClient.md b/How-to-Send-an-HTTP-Request-Using-HTTPClient.md index 00e62af944..18bf21ae8e 100644 --- a/How-to-Send-an-HTTP-Request-Using-HTTPClient.md +++ b/How-to-Send-an-HTTP-Request-Using-HTTPClient.md @@ -10,7 +10,7 @@ Here's a basic example of how to use `send_request_raw`: send_request_raw({'uri'=>'/index.php'}) ``` -* **[send_request_cgi](https://dev.metasploit.com/api/Msf/Exploit/Remote/HttpClient.html#send_request_cgi-instance_method)** - You use this to send a higher-level HTTP request. For example, if your request contains a query string (or POST data), then you should use this. If you wish to learn about how this method works, check out [`Rex::Proto::Http::Client#request_cgi`](https://dev.metasploit.com/api/Rex/Proto/Http/Client.html#request_cgi-instance_method). +* **[send_request_cgi](https://dev.metasploit.com/api/Msf/Exploit/Remote/HttpClient.html#send_request_cgi-instance_method)** - You use this to send a more CGI-compatible HTTP request. If your request contains a query string (or POST data), then you should use this. If you wish to learn about how this method works, check out [`Rex::Proto::Http::Client#request_cgi`](https://dev.metasploit.com/api/Rex/Proto/Http/Client.html#request_cgi-instance_method). Both methods can automatically do the HTTP authentication if the user sets the "USERNAME" and "PASSWORD" advanced options.