mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-21 21:57:56 +01:00
return location on header
This commit is contained in:
parent
5733dbf45e
commit
83e51a6501
@ -53,6 +53,7 @@ public class LabelController extends BaseController {
|
||||
final Label label = createLabel(restLabel);
|
||||
|
||||
// Return the new created label ...
|
||||
response.setHeader("Location", "/service/labels/" + label.getId());
|
||||
response.setHeader("ResourceId", Integer.toString(label.getId()));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user