e
Showing
2 changed files
with
2 additions
and
2 deletions
| ... | @@ -95,7 +95,7 @@ class ApiController extends Controller | ... | @@ -95,7 +95,7 @@ class ApiController extends Controller |
| 95 | 95 | ||
| 96 | } | 96 | } |
| 97 | 97 | ||
| 98 | public function update($json) | 98 | public function update() |
| 99 | { | 99 | { |
| 100 | $apiCallId = new pdfModel(); | 100 | $apiCallId = new pdfModel(); |
| 101 | $apiCallId = $apiCallId->addApiCall('1',$json); | 101 | $apiCallId = $apiCallId->addApiCall('1',$json); | ... | ... |
| ... | @@ -30,7 +30,7 @@ Route::group(array('prefix' => 'api/v1'), function($json) | ... | @@ -30,7 +30,7 @@ Route::group(array('prefix' => 'api/v1'), function($json) |
| 30 | 30 | ||
| 31 | }); | 31 | }); |
| 32 | 32 | ||
| 33 | Route::get('api/update', 'ApiController@getpdf'); | 33 | Route::post('api/update', 'ApiController@update'); |
| 34 | 34 | ||
| 35 | Route::get('fileentry/get/{filename}', [ | 35 | Route::get('fileentry/get/{filename}', [ |
| 36 | 'as' => 'getentry', 'uses' => 'FileEntryController@get']); | 36 | 'as' => 'getentry', 'uses' => 'FileEntryController@get']); | ... | ... |
-
Please register or sign in to post a comment