Skip to content

Coderockr/SOA-Server

Repository files navigation

Coderockr SOA Server

The goal of this project is to enable easy access of entities using Rest and PHP scripts using RPC

This application depends on these projects:

Instalation

  • Clone this project
  • Execute vendors.sh to install dependencies (Linux and Mac for now)

Authorization

The service expects an value to Authorization in the request header. The Authorization header will be validated with configs/clients.php contents in client applications.

How to access

Urls:

http://soa.dev/user/1 - show user with id = 1
http://soa.dev/users - show all users
http://soa.dev/sample - the sample.html file shows how to use the services using Javascript