HTTP Method Security
Manual Solution
function delete(event,rc,prc){
// determine incoming http method
if( event.getHTTPMethod() == "GET" ){
flash.put("notice","invalid action");
relocate("users.list");
}
else{
// do delete here.
}
}Allowed Methods Property
this.allowedMethods = {
actionName : "List of approved HTTP Verbs"
};Allowed Methods Annotation
Last updated
Was this helpful?