In this research, we propose a ubiquitous data accessing method (UDA-IoT) to deal with the heterogeneity of IoT-based data in medical service using RESTful architecture and show that using IoT technology successfully in the healthcare area is beneficial to both doctors and managers.