We need to go through the rest APIs from the server side. If there are @RequestBody included in the methods, the Mapping shoud be set as PostMapping or other Mappings which support http body. The path maybe duplicated with the other existing PostMapping method, we need to pay attention to that.
Rest API: http body is not supported by GET request of the fetch method of browsers. For example:
This rest api is not accessible from client only if the mapping method is changed to PostMapping:
We need to go through the rest APIs from the server side. If there are @RequestBody included in the methods, the Mapping shoud be set as PostMapping or other Mappings which support http body. The path maybe duplicated with the other existing PostMapping method, we need to pay attention to that.