echo code when response