[Geoserver-devel] [JIRA] (GEOS-11042) REST API returns inconsistent status codes for already existing resources

Peter Smythe created an issue

GeoServer / BugGEOS-11042

REST API returns inconsistent status codes for already existing resources

Issue Type:

BugBug

Assignee:

Unassigned

Components:

REST

Created:

22/Jun/23 3:05 PM

Priority:

MediumMedium

Reporter:

Peter Smythe

POST http://localhost:8080/geoserver/rest/security/roles/role/this_role returns 201 Created, if this_role does not exist, as expected.

Repeat the same POST, now the response is 404 (Not Found??), whereas other API endpoints mostly return 409 Conflict, if this_role already exists.

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100227-sha1:6a5b8c4)

Atlassian logo