REST templates endpoint uses PUT to create new templates.

Description

The templates endpoints use PUT to create new templates, when they should use POST.
This affects both the pre-REST-API Refresh restlet API and the new Spring MVC API.

Since this has been the case long enough that I am sure people rely on it, we can't really remove this functionality.
However, we can add a proper POST endpoint to be a bit more REST-compliant.

Environment

None

Assignee

Unassigned

Reporter

Torben Barsballe

Triage

None

Fix versions

None

Affects versions

None

Components

Priority

Medium
Configure