blob: 598edd911cbd509a21c3fca16e079501f2b16040 (
plain)
1
2
3
4
5
6
7
8
9
|
<?php
class ControllerExtensionOpenbayEtsyShop extends Controller {
public function getSections() {
$response = $this->openbay->etsy->call('v1/etsy/shop/getSections/', 'GET');
$this->response->addHeader('Content-Type: application/json');
return $this->response->setOutput(json_encode($response));
}
}
|