https://github.com/igniteui/northwindapi
https://github.com/igniteui/northwindapi
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/igniteui/northwindapi
- Owner: IgniteUI
- License: mit
- Created: 2022-09-09T13:52:13.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-06-04T18:20:54.000Z (11 months ago)
- Last Synced: 2025-06-04T22:07:38.296Z (11 months ago)
- Language: C#
- Size: 1.4 MB
- Stars: 3
- Watchers: 29
- Forks: 5
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Northwind API
## Swagger URL
https://data-northwind.appbuilder.dev/swagger/index.html
## Highlights
- Textbook REST example.
- POST accepts the whole entity, even the "id", although it gets ignored and returns the created entity
- PUT accepts the whole entity, even the "id"
- DELETE methods need to map the id, like id=customerId
- DELETE methods return a copy of the deleted entity
- Role-based auth support - [blog](https://www.infragistics.com/community/blogs/b/infragistics/posts/create-role-based-web-api-with-asp-net-core)
- In order to create a Bearer token, use the POST -> `/Auth/Register` with the example request body:
```
{
"email": "zkolev@infragistics.com",
"password": "test",
"confirmedPassword": "test"
}
```
This will return a token in the format:
`eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJJZCI6Im....`