I am using wiremock as my server. I tried to send a post request though postman. The request consists of duplicate values like this one.
{
"testType":"4ref345d9hkgfsg343",
"testName":"7fdjadf9r4wlj1",
"testType":"65gf4gncm53kljfs54",
"testName":"8fdslkndfoe5f0",
}
The request has been successfully created and the status was 201. However, the first two parameter data (testType and testName) has been overwritten and the only data that was created was the last two parameters.
And when I try to get request this same data through postman, I get an error of 404 not found.
My question is, is there a way that the wiremock through postman could accept duplicate values and not overwritten the first ones? Hope you could help me. Thank you so much!