RESTful Gateway Interface
ISIS-NBP has a REpresentational State Transfer (REST), a stateless client-server architecture in which the web services are viewed as resources and can be identified by their URLs. The HTTP methods such as GET and POST are the verbs that the developer can use to describe the necessary create, read, update, and delete (CRUD) actions to be performed.
Go to address http://127.0.0.1:8080/web/restclient/ to try it.
The Request textarea (on the left), shows the HTTP request Method, URL and parameters used to retrieve data or perform a query on a resource.
This example reads the first record from database cds of the sample collection.
There is a python script implementation to illustrate the REST API:
http://reddes.bvsaude.org/projects/isisnbp/browser/isisnbp-poc/trunk/pyisis/pyisis/web/client/restapi/python/restapi_test.py.
Attachments
- rest_read2.png (110.6 kB) - added by rodrigo.senra 15 years ago.
- rest_read.png (69.4 kB) - added by rodrigo.senra 15 years ago.
- rest_createrec.png (65.7 kB) - added by rodrigo.senra 15 years ago.
- rest_delete.png (54.9 kB) - added by rodrigo.senra 15 years ago.
- rest_deleterec.png (55.1 kB) - added by rodrigo.senra 15 years ago.
- rest_newdb.png (57.9 kB) - added by rodrigo.senra 15 years ago.
- rest_read.2.png (69.4 kB) - added by rodrigo.senra 15 years ago.