package bot;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;


@Controller
@RequestMapping("/webhook")
public class BotController {

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

        System.out.println(obj);


        return new WebhookResponse("https://www.google.com"+"\n"+"https://facebook.com", "https://www.google.com");
    }
}

@@ -574,60 +574,11 @@
 nse(
-%22https://www.google.com%22+%22%5Cn%22+%22https://facebook.com%22
+obj
 , %22h

Update BotController.java