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 |
Welcome Guest, Not a member yet? Register Sign In |