Huomenta! I have a couple of questions about Agavi's REST support:
- With HTTP POST, data is sent using variable1=value1&variable2=value2 format and is read in Agavi using getParameter(). However, if I send the data using HTTP PUT, the data is treated as an uploaded file and cannot be accessed via getParamaeter(). Is there an easy way to access the variables without parsing the uploaded file? - Agavi "maps" executeCreate() with HTTP PUT and executeWrite() with HTTP POST. If I use these functions in a REST context, it seems that it makes more sense if they are mapped the other way around. Although I understand that there is no one way to implement REST, there seems to be a general agreement that update operations should be mapped to HTTP PUT while create operations should be mapped to HTTP POST. I have no qualms with the function names, except that I'll soon be sharing my code with other devs who may have qualms about it. Is there a way to configure our own mapping? Thanks! [ simon.cpu ] _______________________________________________ users mailing list [email protected] http://lists.agavi.org/mailman/listinfo/users
