Skip to content

Fix HTTP verb in user approval API

Dan Davison requested to merge dj-doc-fix-http-verb-in-user-approval-api into master

What does this MR do?

Fix HTTP verb for 201 to be Created rather than 201 OK

Disclaimer I'm aware that this is an odd change. Ideally we would use 200 for an OK here, but the API renders 201 on success for this particular endpoint. This change is to ensure clarity and avoid confusion to those using this endpoint, and seeing 201 CREATED in the request, but expect 201 OK.

Does this MR meet the acceptance criteria?

Conformity

Edited by Dan Davison

Merge request reports

Loading