For some reason
http("Update WishList")
.put("/api/update/${id}")
.header("Accept", "application/json;v=1")
.body(ELFileBody("bodies.json")).asJSON
.check(status.is(200))
causes > status.find.is(202), but actually found 406
But I know the service expects "application/json;v=1"
Checked the actual requests with Fiddler and found that the Accept
header is "application/json"
instead of "application/json;v=1"
Am I missing something?