Fix data , upload routes
This commit is contained in:
@@ -133,6 +133,8 @@ $routes->post('/en/wrench/api/v1/pendingjobcancel', 'WrenchApi::apigate');
|
||||
|
||||
$routes->post('/en/wrench/api/v1/assigntask', 'WrenchApi::apigate');
|
||||
|
||||
$routes->post('/en/wrench/api/v1/uploads', 'WrenchApi::apigate');
|
||||
|
||||
|
||||
//$routes->post('/en/wrench/api/v1/blogdata', 'WrenchBlog::apigate');
|
||||
//$routes->post('/en/wrench/api/v1/blogitem', 'WrenchBlog::apigate');
|
||||
|
||||
@@ -101,6 +101,8 @@ class WrenchApi extends BaseController
|
||||
'pendingjobcancel' => ['POST'],
|
||||
'assigntask' => ['POST'],
|
||||
'resources'=> ['POST'],
|
||||
'uploads'=> ['POST'],
|
||||
|
||||
];
|
||||
return $endpoints;
|
||||
}
|
||||
|
||||
@@ -80,6 +80,7 @@ $endpoints = array(
|
||||
'pendingjobcancel' => array('POST'),
|
||||
'assigntask' => array('POST'),
|
||||
'resources'=> array('POST'),
|
||||
'uploads'=> array('POST'),
|
||||
);
|
||||
|
||||
$call_backend = true; // sometimes we need to overwite the call to the extenstion API
|
||||
|
||||
Reference in New Issue
Block a user