Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-7121

REST - return correct response code from POST and PUT endpoints

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: EJBCA 6.14.0
    • Fix Version/s: EJBCA 6.14.0
    • Component/s: None
    • Labels:

      Description

      Currently all endpoints return 200 or 202 on a successful requests. Endpoints (typically POST) which creates some entity should return 201 - Created instead.

        Attachments

          Activity

            People

            • Assignee:
              hsunmark Henrik Sunmark
              Reporter:
              hsunmark Henrik Sunmark
              Verified by:
              Tarmo Raudsep
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 hours
                2h
                Remaining:
                Time Spent - 45 minutes Remaining Estimate - 1 hour, 15 minutes
                1h 15m
                Logged:
                Time Spent - 45 minutes Remaining Estimate - 1 hour, 15 minutes
                45m