Skip to content

beecoder77/PHP-API-JSON

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP API JSON

Mysqli to JSON

Cara Penggunaan

  1. Buat database baru, dan import users.sql ke phpmyadmin (Optional)
  2. Edit koneksi.php sesuai dengan databasemu
  3. Buka Postman dan test hasilnya

Test Postman

  1. Copy linknya
contoh :
http://localhost/restAPI/index.php //menampilkan semua data
http://localhost/restAPI/index.php?id=28 //menampilkan data by id
  1. Buka Postman
  2. Paste link ke Postman, dan submit
  3. Lihat di Body, jika masih HTML ubah ke JSON

About

Mysql to JSON

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •