Skip to content

Back End Team Task #155: GET machines returns all machines info from the database, read SQL connection string

Kiki Mac edited this page Mar 2, 2020 · 6 revisions

GET /machines returns all machines info from the database, read SQL connection string

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

Prerequisites: Postman and an Azure Function App HTTP URL

Step 1: Open Postman

Step 2: Go to File > New > Request

Step 3: Change drop down to GET

Step 4: Make sure Params is selected

Step 5: Paste the Azure Function App URL https://kiara-fun-feat-usw2-task155.azurewebsites.net/api/getMachine?code=14B1U2/gQPU6sRlIfwDt2iaVsaSCfTuccDvM1YgEDAbQrDzLQjWQyQ== in text box next to GET button

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

Clone this wiki locally