adt/rest-api

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: 2020-08-30 05:16:37 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)