Written in the framework wxjava and success can send template
But will quote Request method 'POST' not supported abnormal
If use is in accordance with the framework, springboot, but restTemplate get request is no problem, just POST error
@ GetMapping ("/sendMessage ")
Public String sendMessage (ModelMap mmap)
{
ResponseEntity
(
Url,
O,
String. The class
);
return "";
}
CodePudding user response:
@ GetMapping this definition is dead, you can only get requestCodePudding user response:
To PostMappingCodePudding user response:
It's no use in the postCodePudding user response:
Set the request way, with @ RequestMapping or @ POSTMappingCodePudding user response:
The