guys i want a script to send some text fields to a site and get the response from site using IF statement like if site show a specific text show TRUE else FALSE
1.how to post data to a site
2.how to get response from the same
rEGARDS
send data
Started by D00M, Apr 12 2010 04:31 AM
1 reply to this topic
#1
Posted 12 April 2010 - 04:31 AM
|
|
|
#2
Posted 21 April 2010 - 11:27 PM
Posting data to a site is dependent on how the site accepts data. It could be a POST/GET/PUT HTTP request or something different. It really just depends on the site in question.
Getting a response is pretty much the same. The site determines which method to use.
Generally, the Python library httplib or urllib2 is used to accomplish these tasks.
Getting a response is pretty much the same. The site determines which method to use.
Generally, the Python library httplib or urllib2 is used to accomplish these tasks.


Sign In
Create Account


Back to top









