Skip to content

Backend Team Task 156: GET machines {id} returns single machine info from DB, read SQL connection string

sanfordwinslow edited this page Mar 11, 2020 · 1 revision

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

1: Open Postman

2: Go to File > New > Request

3: Change drop down to GET

4: Make sure Params is selected and 'code' is checked

5: Paste the Azure Function App URL https://san-fun-usw2-task156.azurewebsites.net/api/machines/{MachineID}?code=0QZ7re1VjAXWcYWew1lSfKQWIqEHoE4nVMjoQNyXiajBryooiiz3ZQ== in text box next to GET button

6: In the code where {MachineID} is, replace with a machine id number.

7: Click the green Send button and you will see the data from the machines table in JSON format.

Clone this wiki locally