Examples of setting the status code, including not found, redirect, and error
Example JSON response with correct content type