On Jul 31, 8:28 am, 诚子 <
zhicheng1...@gmail.com> wrote:
> Hi, I wan't use PUT method and DELETE method,to build a RESTful
> service,how to get an PUT method and DELETE data?
HTTP DELETE works fine :)
Check for it within your controller using:
if request.env.request_method == 'DELETE':
You can use this to test it:
http://code.google.com/p/rest-client/
I can't get the RESTclient to work with Auth though.
I see it send in the HTTP Header a line:
Authorization: Basic Zmxhdmetcetcetc===
I have set:
auth.settings.allow_basic_login = True
F