Using this git-hub library: http://github.com/philsturgeon/codeigniter-restserver How do I use the PUT feature to save its data?
example: example.com/put/some-data/some-data/...
Using this git-hub library: http://github.com/philsturgeon/codeigniter-restserver How do I use the PUT feature to save its data?
example: example.com/put/some-data/some-data/...
you can use it like this: but take in count that PUT
is less commonly used and not supported by most browsers
function somename_put()
{
$data = array('somedata: '. $this->put('some-data'));
$this->response($data);
}