The scenario can be reproduced using branch dev_new 

On Thu, Oct 17, 2019 at 2:58 AM Ishita Singh <> wrote:

I was trying to add Spring security feature but I am getting the following issue.
For the first time when I try to do a POST request to add a pet with No Authentication, Spring security successfully blocks the request with 
HTTP 405: Method Not Allowed

The POST request works fine with a basic auth(200 OK). But once I make a successful POST request with basic auth all following POST requests even with no auth start working. How can I resolve this?

I making the hits using Postman.