Skip to content

PUT Machine Logging Config (Debug, Info and Error)

leitto10 edited this page Mar 13, 2020 · 1 revision

Taks:https://github.com/North-Seattle-College/ad440-winter2020-tuesday-repo/issues/190

Requirements: Azure Subscription, Postman

Step 1: Open Postman program

Step 2: Go to File > New > Request

Step 3: Change dropdown to PUT

Step 4: Make sure you pass a JSON body with the machine you want to update { "MachineID":1, "Model": "Daniel's Coffee", "ModelNum":"3534HTXZ", "ModelPhoto": null, "SerialNum":"4049493", "VendorID":0, "LocationID":1010 }

Step 5: Paste the Azure Function App URL https://jos-rg-fun-usw2-task62.azurewebsites.net/api/putRequest in the text box.

Step 6: Click the green Send button and you will see a successful response.

Step 7: Log into your Azure portal

Step 8: Click on Resource Group for jos-rg-feat-usw2-task62

Step 9: Click on the jos-rg-fun-usw2-task62

Step 10: On the left hand side click on Monitor

Step 11: You will see the logs and the most recent might take up to 5 minutes to show up.

Clone this wiki locally