How are you making the put and delete requests? Most ajax libraries I've seen, fake out PUT and DELTE by sending a flag with the operation name as a parameter to POST and rely on the webservice understanding that. See: http://dobrzanski.net/2007/04/22/using-put-and-delete-methods-in-ajax-requesta-with-prototypejs/
On Aug 27, 8:48 pm, Jiang <[EMAIL PROTECTED]> wrote: > Hi Davide, > > Thanks for your reply but i still get the problem. For example, i have > a simple class: > > class SimpleService(RequestHandler): > def get(self): > self.response.headers['Content-Type'] = 'text/plain' > self.response.out.write('get') > > def post(self): > self.response.headers['Content-Type'] = 'text/plain' > self.response.out.write('post') > > def put(self): > self.response.headers['Content-Type'] = 'text/plain' > self.response.out.write('put') > > def delete(self): > self.response.headers['Content-Type'] = 'text/plain' > self.response.out.write('delete') > > Every time i try "PUT" and "DELETE", it will be routed to the get > method automatically. So i am not sure where the problem is. > > Thanks > > On Aug 28, 5:46 am, Davide Rognoni <[EMAIL PROTECTED]> wrote: > > > Hi Jiang, > > see this > > linkhttp://code.google.com/appengine/docs/webapp/requesthandlerclass.html > > > get() > > post() > > put() > > head() > > delete() > > > On Aug 27, 10:22 am, Jiang <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I have a quick question: does app engine support form "PUT" and > > > "DELETE"? > > > > They are covered in online doc. I have tried all of them but every > > > time i make a request, it will be transferred to the "GET" method > > > automatically. > > > > So could anyone here helps me that how to get "put" and "delete" > > > calls? > > > > Thanks in advance! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---