How to write JSON input format on postman with POST method?
heres my java program :
@RequestMapping(value=“/postbody”, method = RequestMethod.POST, consumes=“application/json”)
public String postBody(@RequestBody String fullName) {
System.out.println(“Gooodd”);
return "Hello " + fullName;
}
How I found the problem:
Whats wrong guys ?
As simple as that, the program is still wrong