We have already discussed what are WebApis and Restful Services in the previous posts. In this post we will look how can we create the API in Azure mobile services, being an API, it will follow every REST principle.
In the Azure portal, navigate to the Mobile Service you need to create the API for. Click on the “API” option from the top.
Choose “Create A Custom API” to create your custom API.
In the dialog that open, give the name to your API.
You can also specify the permission to the various HTTP methods from the various available permissions.
Once you are satisfied with your permission settings. Click on the Tick option below.
Your API is ready to use.
If you specify the permissions as “Everyone” like I did for GET method, you can use your api via a web browsers.
0 comments