gnunet-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] rest: ensure identity plugin follows docs


From: fence
Subject: [PATCH] rest: ensure identity plugin follows docs
Date: Wed, 31 Jul 2024 00:52:37 +0200

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/identity.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

Attachment: 0001-rest-ensure-identity-plugin-follows-docs.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]