Skip to content

Rafatlne/DIU-FREE-ROOM-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to start this api

  1. Download Xampp.
  2. Open Xampp. Start Apache and Mysql.
  3. Download this zip file . https://github.com/Rafatlne/DIU-FREE-ROOM-API/archive/master.zip
  4. Extract that zip file on C:\xampp\htdocs
  5. Open cmd and write ipconfig.
  6. Copy IPV4 address.

7. To read all of data from Database or for _GET request use this end point http://localhost/RoomBooks/api/room/read.php

  1. Replace localhost with your ip address. link will be something like this: http://192.168.0.102/RoomBooks/api/room/read.php
  2. If you got json in browser,you can use that link as your GET request.

10.Read all data from database use this end point or _POST request use this end point http://localhost/RoomBooks/api/room/update.php

  1. For update(_POST) in database send JSON like this
{
    "id": 1,
    "isbooked": "lel",
    "contact_no" : "01571717171",
    "courseCode": "lel"
}
  1. Replace localhost with your ip address. link will be something like this: http://192.168.0.102/RoomBooks/api/room/update.php

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published