API endpoint |
Hello world,
I'm building an API with philsturgeon's rest server. My current controller is PHP Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); An url like http://localhost/api/v1/vps?=1 works, I got the data in the vps_get function. Now I would like to do http://localhost/api/v1/vps/start?=1 or something in the same category. Any idea how can we dev API subendpoint ? Thanks |
Messages In This Thread |
API endpoint - by Enguerrand - 12-06-2014, 09:34 AM
|