Dokumentasi REST API Tugas Code Competence

Fitur Utama Tugas

  1. localhost:8000/items (GET)
  2. no2

  3. localhost:8000/items/:id (GET)
  4. no2

  5. localhost:8000/items (POST)
  6. no2

  7. localhost:8000/items (PUT)
  8. no2

  9. localhost:8000/items (DELETE)
  10. no2

  11. localhost:8000/items/category/:category_id (GET)
  12. no2

  13. localhost:8000/items?keyword=raka (GET)
  14. no2

Fitur User ( login dan register)

  1. localhost:8000/register (POST)
  2. no2

  3. localhost:8000/login (POST)
  4. no2

  5. localhost:8000/users (GET)
  6. no2

  7. localhost:8000/users (PUT)
  8. no2

  9. localhost:8000/users (DELETE)
  10. no2

Fitur Category (CRUD)

  1. localhost:8000/categories (GET)
  2. no2

  3. localhost:8000/items/category/:category_id (GET)
  4. no2

  5. localhost:8000/categories (POST)
  6. no2

  7. localhost:8000/categories (PUT)
  8. no2

  9. localhost:8000/categories (DELETE)
  10. no2

Fitur Product (CRUD)

  1. localhost:8000/items?keyword=raka (GET)
  2. no2

  3. localhost:8000/items (GET)
  4. no2

  5. localhost:8000/items/:id (GET)
  6. no2

  7. localhost:8000/items (POST)
  8. no2

  9. localhost:8000/items (PUT)
  10. no2

  11. localhost:8000/items (DELETE)
  12. no2