Skip to content

API PUT

leitto10 edited this page Feb 11, 2020 · 4 revisions

Creating the Azure API with a function app:

1- Open Visual Studio Code

2- login into azure with VS Code

3- Create a new function project locally.

4- Creat the code logic to accept only PUT Http Request.

5- Troubleshooting the function and debugging.

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

Test request using Postman

1: Paste URL into Postman https://jos-rg-fun-usw2-task62.azurewebsites.net/api/putRequest

2: Write test JSON file Write test code in the body of JSON

3: Select request and send Select PUT request and click Send.

4: Navigate to Function Apps

Sign in Azure portal > search and select Function Apps > jos-rg-feat-usw2-task62 > Monitor (located on the left).

Under "Invocation Details" click Run in Applications Insights Add a custom footer

publish function app api to jos-rg-fun-usw2-task62

Clone this wiki locally