Server : PHP / Rails
Client : Mobile
I would like to implement a REST gateway server that'll take request from the clients, Filter it as per the Database/Listing/Category and then make another REST call to the endpoint REST server.
For Eg: A user makes a request to get some information. Request is handed over to the Gateway Rest Server A. Server A checks the requested information and Makes another REST call to Server B. Server A gets the result as JSON from Server B and then sends this response back to the client.
oAuth is a requirement for this project.
Currently, Client to Server B direct communications are working but we would like to add a hop in between these two endpoints.