Use API strategy for txt format to get correct statusCode in response