Skip to content
Snippets Groups Projects
Commit fca0d6b4 authored by Sibidharan's avatar Sibidharan :speech_balloon:
Browse files

Stash demo

parent afc877c8
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ class API extends REST {
$error = $this->json($error);
$this->response($error,406);
}
$data = array('version' => $this->_request['version'], 'desc' => 'This API is created by Blovia Technologies Pvt. Ltd., for the public usage for accessing data about vehicles.');
$data = array('method'=> $this->get_request_method(),'version' => $this->_request['version'], 'desc' => 'This API is created by Blovia Technologies Pvt. Ltd., for the public usage for accessing data about vehicles.');
$data = $this->json($data);
$this->response($data,200);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment