You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "ecerulm (via GitHub)" <gi...@apache.org> on 2023/05/31 12:37:34 UTC

[GitHub] [couchdb] ecerulm commented on pull request #4628: Fix typo POST -> PUT

ecerulm commented on PR #4628:
URL: https://github.com/apache/couchdb/pull/4628#issuecomment-1570156769

   Since  apparently both PUT and POST work , should both be mentioned in the [1.5.12](https://docs.couchdb.org/en/stable/api/ddoc/render.html#db-design-design-doc-update-update-name-doc-id)?  Maybe indicating which one is preferred over the other (if any). [3.1.5 Update Functions](https://docs.couchdb.com/en/latest/api/ddoc/render.html#db-design-ddoc-update-func-docid) hint that both `POST` and `PUT` are supported when it says: 
   
   > You can provide any other values needed by the update handler function via the POST/PUT entity body or query string parameters of the request. 
   
   But it both are supported I guess both should be explicitly mention at [1.5.12](https://docs.couchdb.org/en/stable/api/ddoc/render.html#db-design-design-doc-update-update-name-doc-id). 
   
    


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org