-
Notifications
You must be signed in to change notification settings - Fork 0
Home
M.Gabała edited this page Apr 28, 2022
·
5 revisions
Welcome to the WebAPI-ASP.NET wiki!
To get a token you should send request via Post method on this url: https://localhost:{port}/api/authentication/authenticate with credentials in example: Body: raw as JSON -> { "user" : "Mateusz", "password": "SecretPassword" }
Make sure RequiredClaim from Program.cs is the same you pass through AuthenticationController.cs. Otherwise you will get 403 Forbidden
?name=<> / ?searchQuery=<> / ?pageNumber=<> https://localhost:7033/api/products?name=something