OlhenShu / ProjectStage_Team2_May

0 stars 0 forks source link

[Eco-News, DELETE/econews/deleteImage] The 403 response code description is "Bad request" instead of "Forbidden" in the list of responses #305

Open OlhenShu opened 1 month ago

OlhenShu commented 1 month ago

Environment: Windows 11 Home Chrome 114.0.5735.91 (Official buid) (64-bit) GreenCityDocker-3 is built and running.

Reproducible: always.

Pre-conditions: User is logged in.

Steps to reproduce

  1. Select the “Eco-news" controller.
  2. Select the method DELETE/econews/deleteImage.
  3. Pay attention to the response code 403 in the list of responses.

Actual result: Response code 403 description is "Bad request".

Expected result: Response code 403 description is "Forbidden".