https://github.com/sskender/ruazosa-lectures
RUAZOSA REST homework
https://github.com/sskender/ruazosa-lectures
delete get json post rest retrofit2
Last synced: 6 months ago
JSON representation
RUAZOSA REST homework
- Host: GitHub
- URL: https://github.com/sskender/ruazosa-lectures
- Owner: sskender
- Created: 2019-04-23T15:06:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-16T20:35:46.000Z (over 6 years ago)
- Last Synced: 2025-03-22T02:15:32.440Z (10 months ago)
- Topics: delete, get, json, post, rest, retrofit2
- Language: Kotlin
- Size: 26 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RUAZOSA-lectures
### Android app using Retrofit ###
### Server setup ###
`
cd client
java -jar lectures-0.0.1-http.jar
`
### REST calls ###
#### Course ####
* GET /api/courses
* GET /api/courses/1
* GET /api/courses/1/students
#### Person ####
* GET /api/persons
* GET /api/persons/2
* DELETE /api/persons/5
* POST /api/persons
`json
{
"firstName": "Klara",
"lastName": "Klarić",
"room": "C656",
"phone": "12345678"
}
`
#### Enroll and unroll ####
* POST /api/courses/2/enrollPerson/3
* POST /api/courses/2/unenrollPerson/3
### Screenshots ###



