Google App Engine + jQuery Ajax = 405 Method Not Allowed

前端 未结 6 1200
栀梦
栀梦 2021-01-14 02:14

Someone has to be able to explain what I\'m doing wrong here! I\'m trying to create the MOST simple example of an AJAX post to a Google App Engine app...and I\'m failing!

6条回答
  •  萌比男神i
    2021-01-14 02:45

    All the other answers were stupid.

    You want post instead of get. That should say:

    class EmailList(webapp.RequestHandler):
      def post(self):   
        self.response.out.write("You see nothing!")
    

提交回复
热议问题