POST request of Student APP add duplicate record in single POST command | Rest Assured Forum
S
Sumit Posted on 23/05/2020

Hi,

Please clear my doubt when i hit a POST request for Student App to add single record, POST API add same record twice.

When i try to search previously added record using "id" GET request display Two records of same student information even id is also same.

Please help to clear that.

Screenshots attached.

 

 


A
Ashish Thakur Replied on 26/05/2020

its not System.out.println(response.prettyPrint()) - this will print 2 times

Its actually

response.prettyPrint() - only


Related Posts