Python – Hit a URL on other server from google app engine


I want to hit a URL from python in google app engine. Can any one please tell me how can i hit the URL using python in google app engine.

Best Solution

You can use the URLFetch API

from google.appengine.api import urlfetch

url = ""
result = urlfetch.fetch(url)
if result.status_code == 200: