CTS2 1.0 FTF Avatar
  1. OMG Issue

CTS2F2 — Create/Update in WADL use the wrong HTTP methods

  • Key: CTS2F2-65
  • Legacy Issue Number: 17323
  • Status: closed  
  • Source: Mayo Clinic ( Mr. Craig Stancl)
  • Summary:

    In the WADL (REST PSM), a Create is done with an HTTP 'PUT' and an update is done with an HTTP 'POST'. This is problematic because a client must have knowledge of the URL structure before doing a create. It will limit implementation as-is because clients cannot be expected to know the URL structure of a resource before it is created. In the case of an update, a 'PUT' is more appropriate because we assume that at that point the client does know the URL of the resource.

    Logged: https://github.com/cts2/cts2-specification/issues/84

  • Reported: CTS2 1.0b1 — Fri, 20 Apr 2012 04:00 GMT
  • Disposition: Resolved — CTS2 1.0
  • Disposition Summary:

    PIM: N/A
    PSM:
    Change all creates to an HTTP 'POST' and all updates to an HTTP 'PUT'.

  • Updated: Fri, 6 Mar 2015 20:58 GMT