Stylianos Gakis
02/28/2024, 11:28 PMresponse.status == HttpStatusCode.OK
?Arjan van Wieringen
02/29/2024, 6:39 AMStylianos Gakis
02/29/2024, 8:18 AMresponse.assertSuccessful()
. But the status check is simple enough, thanks for reassuring me 😊Arjan van Wieringen
02/29/2024, 10:23 AMerrors
block.Stylianos Gakis
02/29/2024, 10:33 AM@RestController
@PostMapping("/{id}/foo")
fun someFunction(@PathVariable id: UUID): Unit {
someService.sideEffect(id)
}
I would not expect this to return 200 if anything goes bad