+

Use POST instead GET to sync groups

Benjamin Renard [2014-01-27 22:55:06]
Use POST instead GET to sync groups
Filename
mycoserver/controllers.py
diff --git a/mycoserver/controllers.py b/mycoserver/controllers.py
index ca16358..e829d2d 100644
--- a/mycoserver/controllers.py
+++ b/mycoserver/controllers.py
@@ -89,5 +89,5 @@ def make_router():
 		('GET', '^/$', home),
 		('GET', '^/login$', login),
 		('GET', '^/subscribe$', subscribe),
-		('GET', '^/sync$', sync),
+		('POST', '^/sync$', sync),
 		)
ViewGit