Skip to content

Basic Configuration

Rolies Debby edited this page Aug 2, 2013 · 2 revisions

In this api client already built-in rest component, you could activate this component by put it in your config/main.php like this :

'rest' => array(
    'class'      => 'application.components.request.Rest',
    'api_host'   => 'https://api.example.com/',
    'app_id'     => 'APP_ID',
    'app_secret' => 'APP_SECRET'
),
Clone this wiki locally