package hello;

import java.util.concurrent.atomic.AtomicLong;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

@Controller
@RequestMapping("/hello-world")
public class HelloWorldController {

    @RequestMapping(method = RequestMethod.POST)
    public @ResponseBody WebhookResponse webhook(@RequestBody String obj){

        System.out.println(obj);

        return new WebhookResponse("Hello! " + obj, "Text " + obj);
    }
}

@@ -20,97 +20,234 @@
 ort 
-java.util.concurrent.atomic.AtomicLong;%0A%0Aimport org.springframework.stereotype.Controller
+org.springframework.stereotype.Controller;%0Aimport org.springframework.web.bind.annotation.RequestBody;%0Aimport org.springframework.web.bind.annotation.RequestMapping;%0Aimport org.springframework.web.bind.annotation.RequestMethod
 ;%0Aim
@@ -295,9 +295,20 @@
 ion.
-*
+ResponseBody
 ;%0A%0A@
@@ -340,19 +340,15 @@
 g(%22/
-hello-world
+webhook
 %22)%0Ap

Change endpoint name