开发者

would it be practical to use the Google App Engine webapp framework to send HTTP POST

开发者 https://www.devze.com 2023-02-03 19:56 出处:网络
I need to do XML RPC and for the sake of simplicity and ease of use I was thinking the smallest WSGI framework would be the best choice so I looked at webapp.The Google examples show the开发者_Python百

I need to do XML RPC and for the sake of simplicity and ease of use I was thinking the smallest WSGI framework would be the best choice so I looked at webapp. The Google examples show the开发者_Python百科ir WSGI framework webapp being used to receive HTTP POST. I need to receive POST but I also need to send POST. Is use of webapp impractical in this case? (I say impractical rather than impossible because perhaps nothing is impossible.)

The "cookbook" example for Google App Engine and XML RPC uses webapp but it also shows POST being received but not sent.


To make POST requests from AppEngine to another site, you want to use the urlfetch service of GAE:

http://code.google.com/appengine/docs/python/urlfetch/

http://code.google.com/appengine/docs/java/urlfetch/

0

精彩评论

暂无评论...
验证码 换一张
取 消