REST server in Drupal 6 - rest

I would like to build a REST service in my Drupal module to expose the contents of my DB tables (not nodes, users, or other Drupal stuff). I've installed Rest_server and services modules but I've not found examples on creating REST services.
Can anyone help me, please?

The book "Drupal web services" by Packt is a good resource. They have free Services introduction online too.

Have a look at: Drupal as backend for RESTful API?
Also, did you had a look at the Services drupal group?

Related

How to implement RESTful API for Siebel IP16

We have recently upgraded our Siebel CRM application from version 8.1.1.11 PS16 ( IP13) to latest Siebel CRM version Innovation Pack 16 and are planning to implement "RESTful API for Siebel IP16"
Please help me to understand how to start building RESTful API for Siebel CRM along with some examples if possible.
Regards,
Sombir Sheoran
You will find the best articles on SiebelHub, those guys have totally dissected the REST api and have posted working code. Siebel IP16 achieves REST via an additional TomCat server, which converts the REST to SOAP passing it to Siebel. So you need to look at its installation as well.

Using REST api to build a web app

What happens when we do not use REST api to build a web application? And also please tell how to build a web service using REST api in PHP.
What happens when we do not use REST api to build a web application?
Nothing, you can do your project with or without REST API. Assume you are running a restaurant and you want to attach with online food service like Foodpanda,zomato you need to provide an API to interact your data without any user interface which can be done easily using REST.
Why do we need RESTful web services?
REST should be used if it is very important for you to minimize the coupling between client and server components in a distributed application. [read more]
How to build a web service using REST api in PHP?
There are many resources available in internet. Here I found something related to PHP
PHP RESTful Web Service

How to consume Rest services in ATG?

I have gone through the ATG oracle guide for rest web service Architecture. Kindly provide a basic example/ steps to consume a rest service in oracle ATG.
If you are looking to consume an external REST API from within your ATG application, then ATG does not provide you any specific way to do so, but ATG is Java, and there are many ways to call REST services in Java.
If you are looking to expose REST APIs from your ATG application, then ATG 9 onwards has a REST Services framework, and ATG 11 onwards has a REST MVC framework that you can use. If these are not suitable for you, then there are other, third-party, ways of doing it too.

How to create Rest Web service client and server

Hi I need to use REST web service but not getting how to start. Although I have checked different articles but there is no proper example which tells flow of REST SERVER and REST CLIENT. Is there any good example link which tells how a REST server will be created with php and how this web service will be called with which technique. I need web service to show customers and then update customers using web service as well. I need to create my own web service for my application so I need to create both Rest server and Rest client.
Thanks
Crinch
REST isn't a technology, it's a style of software architecture
If you want some concrete examples and a simple framework to get started, try cherrypy, which is a minimal web framework written in python.
This should get you started with a web server that can help you adhere to REST design principles.
You Can Try PHP REST Data services https://github.com/chaturadilan/PHP-Data-Services

node.js RESTful API with amazon like auth

I'm looking to build a RESTful API in node.js and want to authenticate users with an API key and API secret musch like the service in Amazon Web Services (AWS).
The question is where to start, googling has lead me to a lot of irrelevant sites and I wondered if anyone had some good site suggestions of sample or skeleton code?
Thanks Ric
Here is an oAuth2 provider module. oAuth is quickly becoming the standard for API's.
https://github.com/AF83/oauth2_server_node