footballrest's Introduction
1. Get all players. Get Json with all players with basic information https://localhost:5001/api/players 2. Get single player. Get Json with one player with detailed information https://localhost:5001/api/players/1 3. Post Create player. Post Json with player properties. Adds player to database, https://localhost:5001/api/player { "name": "Thomas", "number": 1, "age": 28, "height": 190, "TeamId": 2 } 4. Put update player properties. Put Json with player properties. Updates player in database https://localhost:44389/api/players/106 { "name": "Thomas Lastname" } 5. Delete delete player. Deletes player from the database https://localhost:44389/api/players/15 6. Put add player to a team. Put Json with PlayerId and TeamId properties. Adds player to Team. https://localhost:5001/api/PlayersAddToTeam { "PlayerId": 105, "TeamId": 3 } 7. Put removes player from team. Put Sets TeamId key to 1 (reserved for "NoTeamPlayers") https://localhost:44389/api/PlayersRemoveFromTeam/1 8. Get all teams. Get Json with all teams with basic information https://localhost:5001/api/teams 9. Get single team. Get Json with Single teams with basic information and listed all players https://localhost:5001/api/teams/1
footballrest's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.