Skip to content

Latest commit

 

History

History
54 lines (41 loc) · 1.32 KB

README.md

File metadata and controls

54 lines (41 loc) · 1.32 KB

🔗 Spring API Android

Android application where you can perform CRUD tests with API that you can run locally.

⚙️ API Reference

GET Method

  GET /games

Tüm oyunların bir listesini JSON formatında geri döner.

POST Method

  POST /add

Tüm oyun listesine oyun eklemenize olanak sağlar. JSON formatında body bekler.

Örnek body:

  {
        "name": "Revelation Online",
        "description": "A free-to-play fantasy MMO developed by NetEase and published by My.com.",
        "imageUrl": "https://www.freetogame.com/g/77/thumbnail.jpg",
        "genre": "MMORPG"
  }

DELETE Method

Tüm oyun listesinden id'si ile istenilen oyun silinir.

  DELETE /delete/{id}
Parameter Type Description
id int Required — Oyunun id'si istenir.

PUT Method

Tüm oyun listesinden id'si ile istenilen oyun güncellenir.

  PUT /update/{id}
Parameter Type Description
id int Required — Oyunun id'si istenir.

▶️ Demo

spring_mobile_demo.mov