This sample shows how to build an Azure Function that processes HTTP requests using F#. See the blog post Create an HTTP Trigger Azure Function using FSharp for a detailed walk-through on how to build this sample.
This solution was built using a Windows PC, but should work on Mac and Linux.
To build or start application, use Cake script
PS> &.\build.ps1 -t start
Once the host is initialized, the function is available at the following endpoint http://localhost:7071/api/Greet
.
Make a HTTP POST request to http://localhost:7071/api/Greet
.
You can compose request manually with curl
or use greet.http
file.
If successful, the response should look similar to the following output.
Hello Luis