-
Notifications
You must be signed in to change notification settings - Fork 3
API POST request
hken920 edited this page Feb 12, 2020
·
1 revision
https://github.com/North-Seattle-College/ad440-winter2020-tuesday-repo/issues/60
Prerequisite: IoT Hub resource
Test request using Postman
Step 1: Paste URL into Postman
Step 2: Open Postman and start new tab
- In Postman click "+" tab to start a new tab
Step 3: Write test JSON file in Postman
- Click Body tab under URL field
- Select raw option located under "Body" tab
- In the orange drop down bar located to the right of "GraphQL" change text to JSON
- Write test code in the body of JSON
Step 4: Select request and send
- Select POST request and click Send (can take about 5 mins for log to update in Application Insight)
Step 5: Navigate to Function Apps
- Sign in Azure portal > search and select Function Apps > ken-fun-feat-usw2-task60 > Monitor (located on the left).
Step 6: Select function logs
- To see the logs for a particular function invocation, select the Date column link for that invocation
Step 7: View logs in App Insights
- Under "Invocation Details" click Run in Applications Insights