API Endpoints
/api/users /api/appointments /api/doctors /api/hospitals /api/patientRecords /api/pharmacies
Example
USERS localhost/{name of directory}/api/users
-
GET (all users) /api/users
-
GET (single user) /api/users/?id={id}
-
POST (create user) /api/users/ Supply form data
-
POST (update user) /api/users/ Supply form data with {id} filed