How do i read the http status in Azure Functions v4

Leo 0 Reputation points


I'm writing an API in JavaScript using an Azure Functions v4 Http Trigger and I don't know how to read the http status set by the API after a request has been made (I'm not looking to set the status myself in this instance).

It seems this was quite straightforward to achieve in AZ Functions v3 by using 'context.res.status' but i can't seem to find the equivalent in v4?


Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,735 questions
{count} votes