Re: [PATCH] rest: ensure identity plugin follows docs
Martin Schanzenbach <[email protected]> Sun, 04 Aug 2024 09:12:44 +0200
| Newsgroups | gmane.network.gnunet.devel |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the patch, applied! On Wed, 2024-07-31 at 00:52 +0200, fence wrote: > Hello again, > > I noticed that the identity rest api doesn't follow the docs. > > `POST /identity` should return `201 Created` but returns `204 No > Content` > ( > https://git.gnunet.org/gnunet-handbook.git/tree/developers/rest-api/id > entity.rst#n134). > While The response is also empty I think returning 201 is more suited > for the nature of the endpoint. > > The attached patch fixes that. > > kind regards, > fence