value receive null with post method in the java spring controller

Java
 public Greeting greeting(@RequestBody Person person) {
    return new Greeting(counter.incrementAndGet(), String.format(template, person.getName()));
} 
Source

Also in Java: