title: How to post a fake entry in "jsonplaceholder.typicode.com" with customized id
body: <p>Sirs, I just want to ask on how to post a fake entry "jsonplaceholder.typicode.com/posts" api with customized id, say, id = 123. because when i post, it automatically post "101" as an id. This is using Angular by the way. Thanks</p>
  
  <p>i have this code, but not sure if this is the correct way:</p>
  
  <pre><code>  onSubmit() {
      const list = {
        id: this.id,
        title: this.title,
        body: this.body
      }
      this.sample.samplefunc(list).subscribe(list =&gt; {
        list.id = 123
        this.lists.push(list)
      })
    }
  </code></pre>