S
sean nakasone
Can someone please provide me with a simple ntlm example?
Basically, I just want to make an HTTP GET request to my web site, but it
does not work because it requires NTLM authentication. Here's what I'm
doing, but I need NTLM incorporated.
require 'socket'
client = TCPSocket.open('amfmweb', 80)
client.send("GET /gviewer HTTP/1.0\n\n", 0) # 0 means standard packet
client.shutdown( 1 )
response=client.readlines
puts response
client.close
thanks,
Sean.
Basically, I just want to make an HTTP GET request to my web site, but it
does not work because it requires NTLM authentication. Here's what I'm
doing, but I need NTLM incorporated.
require 'socket'
client = TCPSocket.open('amfmweb', 80)
client.send("GET /gviewer HTTP/1.0\n\n", 0) # 0 means standard packet
client.shutdown( 1 )
response=client.readlines
puts response
client.close
thanks,
Sean.