apiBadRequestResponse
apiBadRequestResponse<
TBody>(resData,headers?):Response
Sends a response with HTTP status code 400 (Bad Request).
Type Parameters
TBody
TBody
Parameters
resData
TBody
The response data to be sent to the client.
headers?
HeadersInit
Optional headers to include in the response.
Returns
Response