Node-RED setting httpNodeMiddleware question

1656927113201

When I have questions when using the httpNodeMiddleware , I want to reject the request and return the response when the conditions are met, how should i write! thinks!!

You need to do some reading about ExpressJS which is what underlies this.

In general, if you want to reject a request, you need to provide a status code and response.