Sample data has already been inserted. Base API URL: https://testing-19.herokuapp.com/api/
All the requests should be made through HTTP GET method.
- Get all patients info -
/get-patients/
- returns just the name, ID of the patient - Get all doctors info -
/get-doctors/
- returns name, ID of the doctors - Send a friend request to a patient -
/send-request/{patient-id}/{doctor-id}/
- Accept a request -
/request/{patient-id}/{doctor-id}/{ACTION}
-ACCEPT
orREJECT
- View a patient data -
/view-patient/{patient-id}/{doctor-id}/
- View friends -
/get-friends/{patient_id}/{doctor-id}/
Note: No authentication has been implemented for time being