Forward JSON POST request from one REST API to another
问题 I have the following situation: My REST API one: @RestController @RequestMapping("/controller1") Public Class Controller1{ @RequestMapping(method = RequestMethod.POST) public void process(@RequestBody String jsonString) throws InterruptedException, ExecutionException { ............ } } JSON POST request, request1, for the REST API(Controller1): { "key1":"value1", "key2":"value2" } My REST API two: @RestController @RequestMapping("/controller2") Public Class Controller2{ @RequestMapping(method