August 2017
Intermediate to advanced
468 pages
12h 5m
English
To see how the console displays an error, we can change the parameter we supplied in the Request body section from name to text:

As expected, we got the 400 Bad Request error code, and also the Please pass a name on the query string or in the request body error message.
Note that the Logs window is still displaying the output indicating that the function completed successfully. This is because even though an error message was returned due to wrong input, no error has occurred in the function itself:
2017-01-14T16:39:35.928 Function started (Id=49b724d2-2e3d-4b85- 9aaa-4ffd8dcef948) 2017-01-14T16:39:35.928 C# HTTP trigger function ...