-
Notifications
You must be signed in to change notification settings - Fork 945
Open
Labels
Status::BacklogThe issue has been accepted but awaiting prioritization or scheduling.The issue has been accepted but awaiting prioritization or scheduling.Type::EnhancementAimed at improving the existing functionality or a new feature that provides additional valueAimed at improving the existing functionality or a new feature that provides additional valueplugin::clnrest
Milestone
Description
Make the type of REST responses configurable via Accept
header, so that applications can consume the response without writing wrappers/interceptors; if they do not consume default application/json type.
And
Make the payload of REST request configurable via Content-Type
header, so that the server can consume the payload in different formats and convert it into json before passing it to the node.
Request Header Meaning:
-H Accept -> "I prefer to receive responses in {} format"
-H Content-Type -> "The data I'm sending is in {} format"
Metadata
Metadata
Assignees
Labels
Status::BacklogThe issue has been accepted but awaiting prioritization or scheduling.The issue has been accepted but awaiting prioritization or scheduling.Type::EnhancementAimed at improving the existing functionality or a new feature that provides additional valueAimed at improving the existing functionality or a new feature that provides additional valueplugin::clnrest