adt/rest-api

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (dev-master) of this package.

API for simply RESTful communication

dev-master 2015-01-10 13:32 UTC

This package is auto-updated.

Last update: 2022-05-29 01:09:06 UTC


README

Basic configuration in config.neon:

class Application implements Adt\RestAPI\IApplicationService {
  
  function getApplicationSecret($appId) {
    // your code
  }
  
}
services:
  # only server side configuration
  - Application
  - ADT\Rest\ApiSignature
  
  # only client side configuration
  - ADT\Rest\Service\Api
  - ADT\Rest\Signature(appId, appSecret)