From 596983ae286c88031010a43f7bbca3984d1a40a7 Mon Sep 17 00:00:00 2001 From: Joe Robinson Date: Thu, 10 Dec 2015 18:00:52 +0000 Subject: Change http method to POST --- src/main/java/uk/co/blatech/blaears/controllers/GitRelayController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') diff --git a/src/main/java/uk/co/blatech/blaears/controllers/GitRelayController.java b/src/main/java/uk/co/blatech/blaears/controllers/GitRelayController.java index 1fd9bc6..f5d240e 100644 --- a/src/main/java/uk/co/blatech/blaears/controllers/GitRelayController.java +++ b/src/main/java/uk/co/blatech/blaears/controllers/GitRelayController.java @@ -17,7 +17,7 @@ import java.io.IOException; @Controller public class GitRelayController { - @RequestMapping(value = "/gitlab", method = RequestMethod.PUT) + @RequestMapping(value = "/gitlab", method = RequestMethod.POST) String relay(@RequestBody Push pushMsg, Model model){ try { //DANGER -- cgit v1.2.3