This is the next article in my function-getting-started series, which aims to see which platform is quickest to move to in term of development effort
See my previous article with Google Function here
This time will be about Azure function.
Same target as previous post, I want to quickly build up an API endpoint (HTTP trigger function) with will return a list of news sources
It will look like this as the result:
Now, let create our first function
Now, let add up the content of our function to return what we want
Then hit Save → Run
We can retrieve the URL for our function from “Get function URL” label above
Let’s try to call the function from POSTMAN client
Yay! we got our function now working as expected. Ready to scale and add more feature!
Originally published at https://medium.com/@toantran/trying-out-function-as-a-service-with-azure-function-ca7b86b74e4f