DEV Community

Discussion on: Part 2: How to Synchronize relational databases with Dotmim.Sync

Collapse
gaurakshay profile image
Akshay Gaur

This is amazing! I wonder if it is possible to add authorization to the Web API so that only authorized requests will be served?

Collapse
mimetis profile image
Sébastien Pertus Author

Yes, You just have to secure your web api endpoint like any ohter web api hosted in ASP.Net core

On the client side, you have access to the HttpClient instance easily, so just add your bearer token to the header and you're done !