Joeri,
Make sure you first assign the full Response Structure to CustomizedResponse, in order to not overwrite the StatusCode (a StatusCode outside the 200-range will cause an exception).
Joeri,
Make sure you first assign the full Response Structure to CustomizedResponse, in order to not overwrite the StatusCode (a StatusCode outside the 200-range will cause an exception).