Please use the TARGETURI option, which is used by ```Msf::Exploit::Remote::HttpClient```. Documentation about the correct usage of ```HttpClient``` can be found here: https://github.com/rapid7/metasploit-framework/wiki/How-to-Send-an-HTTP-Request-Using-HTTPClient