• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Block GET Call to method

#1
[eluser]Ceros[/eluser]
Hi,

I know that in ASP.NET MVC there is something called AcceptVerbs. So you can do this:

<AcceptVerbsTongueOST>_
function insertdatabase(param1, param2)...

Using this, when you directly call www.mysite.com/controller/insertdatabase it doesn't work. But it will if you are using a form with method="POST".

Is there a way to do the same thing in CI?

Thanks!
Seb


Messages In This Thread
Block GET Call to method - by El Forum - 02-14-2010, 02:50 PM
Block GET Call to method - by El Forum - 02-14-2010, 03:51 PM
Block GET Call to method - by El Forum - 02-14-2010, 05:03 PM
Block GET Call to method - by El Forum - 02-14-2010, 05:16 PM
Block GET Call to method - by El Forum - 02-14-2010, 08:46 PM
Block GET Call to method - by El Forum - 02-15-2010, 07:32 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.