Is querying for URLs present on ports other than 80 allowed with urlfetch()
I would like to get data from a server on a non-standard port –
http://example.com:8000/WebService?input=a
Ideal example would be web services hosted on non-standard ports.
Can i do this somehow with appengine?
The app engine documentation says that you can use Python’s
urllib2to make your requests which will automatically use Google’s urlfetch service. Usingurllib2you can indicate the port number in the hostname.I haven’t tested it on GAE, but I don’t see why it shouldn’t work.
Edit:
From the GAE documentation:
This implies that the port can be specified in the url while using the standard urlfetch API.