for-GET / http-decision-diagram

An activity diagram to describe the resolution of HTTP response status codes, given various headers.

Home Page:https://github.com/for-GET/http-decision-diagram/blob/master/doc/2013-06-10-http-hell-no.md

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

isn't it should be M2 to M3 instead of to M2 to N3?

septianw opened this issue · comments

How if i create with method POST and endpoint create (create_path) but has conflict or duplicate. isn't it should be M2 to M3 instead of to M2 to N3?

Understood. According to this diagram, how to prevent conflict when posting same content of field?
e.g:

  1. Create car: POST /cars with value "corvette zr1" -> 201 /cars/id123
  2. Create car again with same value : POST /cars with value "corvette zr1" -> should be conflict, there's another record with same value.

I don't know whats inside, so i can't afford PUT.