how to use GET /login HTTP/1.0 in asp
Hi! All
Hope you are fine.
I'm doing http programming using with asp.net. I need to connect to server passing http headers. I can connect to the server using the following code at command prompt
telnet 192.100.86.69 8001
Trying...
Connected to 192.100.86.69.
Escape character is '^]'.
GET /login HTTP/1.0
cpa_cp_id: 734
cpa_login_name: 6%2FcEVBzQiwM%3D
cpa_password: xioAsjyHZ%2FvypHDm3sU8uw%3D%3D
How can i do it in asp page
cpa_cp_id: 734
cpa_login_name: 6%2FcEVBzQiwM%3D
cpa_password: xioAsjyHZ%2FvypHDm3sU8uw%3D%3D
cpa_cp_id,cpa_login_name and cpa_password are http headers i should pass those parameters using url encoding
any one can help me out
thanks in advance
|