A General Overview of RESTful Web Services

Author(s):  
Eyuphan Ozdemir

This chapter aims to present a general overview of today's dominant software architectural style for developing web services, namely REST, by comparing the core elements of this paradigm with the big web service model. The study evaluates the HTTP requests, responses, and thus, the SOAP/JSON payloads involved in consuming a big web service and a RESTful service that is developed in the ASP.NET Core Web API framework. After summarizing the REST constraints, the chapter elucidates how the example RESTful web service satisfies these constraints and lists some scenarios suited to each paradigm. The study notes the object-oriented elements that are inherent in RESTful services, specifically how polymorphism and abstraction principles can be applied to RESTful services.

Author(s):  
José Renato Villela Dantas ◽  
Pedro Porfirio Muniz Farias

In the internet environment, web services based on representational state transfer (REST) have become the de facto standard. The addition of semantics is intended to enhance the description of web services with information that enables automatic agents to understand their data. However, the existence of different languages to semantically describe services makes it difficult to discover and select the service that best meets a requirement. Furthermore, relatively few proposals have a RESTful service semantic description, making the discovery process for RESTful services more difficult. This work proposes a RESTful semantic web service discovery architecture based on semantic interfaces (SERIN). SERIN is an ontology with annotations that semantically describe RESTful web services. This architecture enables software agents to automatically discover and make service calls in order to execute a determined task.


Author(s):  
Yixiong Chen ◽  
Yang Yang ◽  
Zhanyao Lei ◽  
Mingyuan Xia ◽  
Zhengwei Qi

AbstractModern RESTful services expose RESTful APIs to integrate with diversified applications. Most RESTful API parameters are weakly typed, which greatly increases the possible input value space. This poses difficulties for automated testing tools to generate effective test cases to reveal web service defects related to parameter validation. We call this phenomenon the type collapse problem. To remedy this problem, we introduce FET (Format-encoded Type) techniques, including the FET, the FET lattice, and the FET inference to model fine-grained information for API parameters. Enhanced by FET techniques, automated testing tools can generate targeted test cases. We demonstrate Leif, a trace-driven fuzzing tool, as a proof-of-concept implementation of FET techniques. Experiment results on 27 commercial services show that FET inference precisely captures documented parameter definitions, which helps Leif to discover 11 new bugs and reduce $$72\% \sim 86\%$$ 72 % ∼ 86 % fuzzing time as compared to state-of-the-art fuzzers.


2018 ◽  
Vol 4 (1) ◽  
pp. 14
Author(s):  
M. Miftakul Amin

Pengembangan sistem informasi membutuhkan interoperabilitas dalam lingkungan yang heterogen, dilihat dari sistem operasi, perangkat lunak, bahasa pemrograman, dan basis data, sehingga dapat saling berkomunikasi dan bertukar data atau informasi. RESTful web service dapat digunakan sebagai salah satu teknologi untuk mewujudkan interoperabilitas. Sebuah studi kasus tentang aplikasi perpustakaan telah digunakan dalam penelitian ini. Aplikasi tersebut dibangun dengan Slim Framework PHP untuk sisi server dan Visual Basic pada sisi client. Komunikasi antara client dan server menggunakan HTTP method yaitu GET, POST, PUT, dan DELETE. Pengujian telah dilakukan untuk melihat performa dari web service yang telah dikembangkan menggunakan perangkat lunak Postman. Hasil dari penelitian ini menunjukkan bahwa, aplikasi client dapat mengakses web service yang disediakan di sisi server sebagai wujud interoperabilitas.   Information development systems need interoperability in heterogeneous environments, seen from operating systems, software, programming languages, and databases, so that they can communicate and exchange data or information. RESTful web services can be used as one of the technologies to realize interoperability. As case studies build library applications using PHP Slim Framework on the server side, while Visual Basic programming language is used on the client side. Communication Between client and server using HTTP Method that is GET, POST, PUT, and DELETE. Testing has been done to see the performance of web service functionality that has been developed using Postman software. The result shows that client applications can access the web services provided on the server side as a form of interoperability.


2011 ◽  
Vol 135-136 ◽  
pp. 806-808 ◽  
Author(s):  
Hong Jun Li

In order to make the Web services, web sites in Java more powerful and flexible, building unified web applications is vital important. By introducing a new style─Representational State Transfer (REST), this paper studied the Java RESTful frameworks and the ways to develop Restful Web Service in Java. The RESTful frameworks in Java can effectively simplify the web development in many ways.


2021 ◽  
Vol 2094 (3) ◽  
pp. 032016
Author(s):  
D V Kornienko ◽  
S V Mishina ◽  
S V Shcherbatykh ◽  
M O Melnikov

Abstract This article discusses the key points of developing a secure RESTful web service API for keeping a student achievement journal. The relevance of using web services has been analyzed. The classification of web applications is given. The features of the Single Page Application architecture were considered. Comparative characteristics of architectural styles of application programming interfaces are given. Requirements to be met by RESTful API services are considered. The basic principles of API security were analyzed. A list of the main vulnerabilities that may appear during the development of the REST API is given. An overview of popular authentication schemes (methods) is given. Comparative characteristics of web frameworks of the Python programming language are given. The main tools used in the development of web API applications are listed. The process of creating a secure prototype of a RESTful web service API in Python using the Flask microframework and a tool for describing the Swagger specifications is presented. The process of configuring the application was examined in detail. The main recommendations for securing a web application, database and web server settings are listed. The key points of ensuring the protection of the developed web application are considered. The results obtained were analyzed.


Author(s):  
Evelina Pencheva

The variety of Machine-to-Machine (M2M) applications based on very heterogeneous forms of platforms, technology, and data models has resulted in vertical solutions where interoperability is very limited. In order to develop horizontal platforms across different business domains, networks and devices, it is necessary to outline generic capabilities. Service Capabilities provide data mediation functions that may be shared by different applications through application programming interfaces. The paper presents an approach to design RESTful Web Services for access to location and presence status information of M2M devices. The Device Reachability Service Capability provides access to device location and allows device presence information to be registered and obtained. Web Service operations are identified by analysis on typical use cases. M2M device reachability information is modelled as REST resources organized in a tree structure. Web Service performance characteristics are evaluated by simulation.


2019 ◽  
Vol 11 (2) ◽  
pp. 24-49 ◽  
Author(s):  
Kiritkumar J Modi ◽  
Sanjay Garg ◽  
Sanjay Chaudhary

RESTful web services have evolved based on REST architectural design and gained popularity because of their inherent simplicity and suitability features in comparison with SOAP-based web services. Moreover, linked open data (LOD) provides a uniform data model for RESTful web services which in turn avoids manual intervention of users to perform tasks such as, searching, selection, and integration. Researchers have worked on LOD based RESTful web services searching, selection and composition but focused on individual basis though they are interrelated tasks. This article presents an integrated framework and approach to automate the discovery, selection and composition of RESTful Web services using linked open data to provide an efficient composition solution. We work with RDF descriptions to express the state of linked data resources on which SPARQL queries would be applied for the extraction, filtering and integration of RESTful services. Use case scenarios of population information systems and healthcare recommendation systems are presented as a proof of concept with necessary results.


2010 ◽  
Vol 143-144 ◽  
pp. 1159-1163
Author(s):  
Dong Jin Wang ◽  
Mei Na Song ◽  
Yan Li

In the past several years, there have been dramatic changes on the Web services landscape.After the traditional XML-PC web service, a new style-Representati0nal State Transfer (REST) is applied to Web services. In addition, the telecom operators have provided different APIs. OneAPI standards have been proposed. This article mainly introduces OneAPI standards and REST architecture. Some OneAPI supplied by GSMA website to provide REST service. Sample program implements can get the user address though the OneAPI.


Sign in / Sign up

Export Citation Format

Share Document