Azure Functions is a serverless compute service that enables you to run code on-demand without having to explicitly provision or manage infrastructure. Use Azure Functions to run a script or piece of code in response to a variety of events. [Ref]
You can setup a simple REST (Representational State Transfer) server for development purposes in Azure functions.