Random Smartphone API build with Spring Boot
- Clone project
git clone https://github.com/Popovkov57/random-smartphone.git
- Open Eclipse IDE
- Go in file menu and select
import project - Select
Import existing Maven projects - Click on
Browse projectand openrandom-smartphonefolder - Click on
Finish
| Description | Method | Url |
|---|---|---|
| Get list of all smartphones | GET | /smartphone |
| Get smartphone by Id | GET | /smartphone/<id> |
| Create smartphone | POST | /smartphone |
| Update smartphone | UPDATE | /smartphone |
| Delete smartphone by Id | DELETE | /smartphone/<id> |
| Get Random smartphone | GET | /smartphone/random |