Welcome to Microsoft Q&A! Thanks for posting the question.
MS Learn is currently not supported in Microsoft Q&A. I have looked into the module and as per the function app code if you are not passing the name in the query string or the request body then the function will return 200 response along with the message that you have received. Looks like there is a content issue in the note. You can always navigate to the end of your page and click on reporting an issue to report this issue. I have reported this issue to the MS Learn team following the Report an Issue link. Let me know if you have any queries or concerns.
module.exports = async function (context, req) {
context.log('JavaScript HTTP trigger function processed a request.');
const name = (req.query.name || (req.body && req.body.name));
const responseMessage = name
? "Hello, " + name + ". This HTTP triggered function executed successfully."
: "This HTTP triggered function executed successfully. Pass a name in the query string or in the request body for a personalized response.";
context.res = {
// status: 200, /* Defaults to 200 */
body: responseMessage
};
}
Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.