Welcome Guest, Not a member yet? Register   Sign In
How do you prefer passing on ID from view to controller when editing data?
#3

[eluser]n0xie[/eluser]
They have different functions.

GET requests a resource. The 'id' part of the url tells the webserver what resource it want.

POST is used to pass 'form' data to the webserver. I.e. I want to submit something and it has to be linked to this id.


Messages In This Thread
How do you prefer passing on ID from view to controller when editing data? - by El Forum - 06-17-2011, 08:47 AM



Theme © iAndrew 2016 - Forum software by © MyBB