Stored Procedure as RESTful API