Git Product home page Git Product logo

exrestapi's Introduction

Rest API

Warning !!

  • PHP 5.6
  • MySQL 5.7.24

Example

Admin

  1. View all data Admin - [URL]?fiture=viewalladm
  2. View one data Admin - [URL]?fiture=viewadm&id=[nomor id pada field admin]
  3. Insert Admin - [URL]?fiture=insadm&nm_adm=[Isi Nama Admin]&pwd_adm=[Isi Password Admin]&tgl=[Tanggal YYYY-MM-DD]
  4. Edit Admin - [URL]?fiture=editadm&nm_adm=[Nama Admin]&pwd_adm=[Password Admin]&tgl[Tanggal YYYY-MM-DD]&id=[id Admin yang akan diubah]
  5. Delete Admin - [URL]?fiture=dltadm&id=[Nomor id]

Anggota

  1. View all data Anggota - [URL]?fiture=viewallang
  2. View one data Anggota - [URL]?fiture=viewang&id=[nomor id pada field anggota]
  3. Insert Anggota - [URL]?fiture=insang&nm_agt=[Isi Nama Angota]&pwd_agt=[Isi Password Anggota]&status=[Status diisi 1 / 0]&tgl=[Tanggal YYYY-MM-DD]
  4. Edit Anggota - [URL]?fiture=editang&nm_agt=[Nama Anggota]&pwd_agt=[Password Anggota]&status=[Status diisi 1 / 0]&tgl[Tanggal YYYY-MM-DD]&id=[id Anggota yang akan diubah]
  5. Delete Anggota - [URL]?fiture=dltang&id=[Nomor id]

Buku

  1. View all data Buku - [URL]?fiture=viewallbk
  2. View one data Buku - [URL]?fiture=viewbk&id=[nomor id pada field buku]
  3. Insert Buku - [URL]?fiture=insbk&judul=[Isi Judul Buku]&kategori=[Isi Kategori Buku]&status=[Status diisi 1 / 0]&stok=[Isi Stok Buku]&isbn=[Isi Nomor ISBN Buku]
  4. Edit Buku - [URL]?fiture=editbk&judul=[Isi Judul Buku]&kategori=[Isi Kategori Buku]&status=[Status diisi 1 / 0]&stok=[Isi Stok Buku]&isbn=[Isi Nomor ISBN Buku]&id=[id Buku yang akan diubah]
  5. Delete Buku - [URL]?fiture=dltbk&id=[Nomor id]

! Warning ! Status 1 artinya aktif dan 0 artinya tidak aktif

Untuk php 7.xx akan saya buatkan jika ada waktu luang

Thanks Contributor

exrestapi's People

Contributors

dhn-nys avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.