I want to create a RESTFUL web service that gets a request via the URL that is accessed and then returns the appropriate document for that client. For example, if it was a weather app and I wanted to get the weather for Atlanta through a web browser, I would access http://weatherapp.appspot.com/temperature/Atlanta and it would return an HTML document with the information for Atlanta. I don't want anything that ties into a database as I am just trying to wrap another website via screen-scraping. Does anyone have any examples on how to get arguments from the url?
相关问题
- java.lang.NullPointerException at java.io.PrintWri
- __call__() missing 1 required positional argument:
- Upload file to Google Cloud Storage using AngularJ
- Where is the best place to put one-time and every-
- facebook “could not retrieve data from URL”
相关文章
- Is there a size limit for HTTP response headers on
- appcfg.py command not found
- Google app engine datastore string encoding proble
- Angular route not working when used with Google Ap
- Doctrine not finding data on Google App Engine?
- Using OkHttp client via OKClient on Google App Eng
- Google appEngine: 404 when accessing /_ah/api [dup
-
Google App Engine Error:
INVALID_ARGUMENT
Using the webapp framework, you can capture regular expression groups and pass them to your handler like this:
Any parenthesized groups in the regular expression are collected and passed as positional arguments to the get/post/etc methods on your handler.