response結構

headers

是個object。

let headers = {
    "Content-Type" : "application/json"
};

context.res = {
    status: status,
    headers: headers,
    body: responseMessage
};

Last updated

Was this helpful?