I’ve simply created REST API to permit administrator can handle knowledge consumer from ASP.NET Internet API, that is easy to make use of and have a authentication use OAUTH2 bearer token OWIN.
You possibly can handle knowledge consumer if he has received token bearer whereas token is just not expired. I set token expired for 15 minutes, you’ll be able to change it as you as need. Not solely textual content, but in addition you’ll be able to add picture file to server and save filename into database by way of REST API.
Be sure you have set up :
- Visible Studio 2015(or greater)
- SQL Server 2012
- Web framework 4.5.2
- Postman (Final model)