API handling (RESTful service) ()