elections-cpl.api.hscc.bdpa.org • Docs
elections-cpl.api.hscc.bdpa.org / lib/next-api-respond / sendHttpBadRequest
sendHttpBadRequest(
res
,responseJson
?):void
Sends an HTTP 400 "client error" response with optional responseJson
data.
• res: NextApiResponse
• responseJson?: Record
<string
, unknown
>
void