> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Method name: sendStatus(statusCode: string, message: string) # Method package: wixRouter # Method menu location: wixRouter --> sendStatus # Method Link: https://dev.wix.com/docs/velo/events-service-plugins/routers/service-plugins/wix-router/send-status.md # Method Description: Returns a response with the specified HTTP status code with an optional message. The `sendStatus()` function is used in the [`router()`](#router), [`beforeRouter()`](#beforeRouter), and [`afterRouter()`](#afterRouter) hooks to return a specified response. Optionally, you can pass a message. # Method Code Examples: *** Note: do not assume any prop names or enum values other than the ones in the example. ## Create a response with a specified status code ```javascript import {sendStatus} from 'wix-router'; export function myRouter_Router(request) { return sendStatus("418"); } ``` ## Create a response with a specified status code and message ```javascript import {sendStatus} from 'wix-router'; export function myRouter_Router(request) { return sendStatus("418", "Message"); } ``` ---