title: 404 error when post in Postman
body: <p>I´m trying to send a POST request that is an <code>Person</code> object that contains a list of contacts.
  But I don´t know if this is the correct syntax to send a list:</p>
  
  <pre><code> {
      "name":"romulo",
      "contacts" :  [ 
          { 
              "contact" : "3466577" 
  
          },
              { 
              "contact" : "532423" 
  
              }
          ]
      }
  </code></pre>
  
  <p>But keeps me returning a 404 error</p>
  
  <p>what i´m doing wrong?</p>
  
  <p>post method:</p>
  
  <pre><code>@PostMapping("/person")
  public void addPerson(@Valid @RequestBody Person person) {
      Person savedPerson = personRepository.save(person);
      List&lt;Contact&gt; contacts = person.getContacts();
      for (Contact contact1 : contacts) {
          contactRepository.save(contact1);
      }
  
  }
  </code></pre>