In this paragraph:
Notice that we are getting a 200-OK response instead of 201-OK response this time. It tells you that a document(_doc, line 3) with an id of 1(line 4) has been updated(line 6).
You have written "201-OK". It should be "201-Created".
Software engineer with a love for rock climbing. With a strong background in developer advocacy, I love creating tutorials & educational meetups to help developers get unstuck!
Location
Denver, Colorado
Work
Senior Developer Advocate @ Grafana | Full Stack Developer
There is one slight mistake.
In this paragraph:
Notice that we are getting a 200-OK response instead of 201-OK response this time. It tells you that a document(_doc, line 3) with an id of 1(line 4) has been updated(line 6).
You have written "201-OK". It should be "201-Created".
Anyway, it was an excellent article! Thank you.
Ooh thank you for catching that @puneethgr ! Just fixed it. :)