|
|
@@ -15,14 +15,14 @@ my $conf = load_conf("../etc/autodoc.json"); |
|
|
|
my $dbh = sqlconnect($conf->{sql}); |
|
|
|
|
|
|
|
my %map = ( |
|
|
|
api_v1_POST_documents => \&api_v1_POST_documents, |
|
|
|
api_v1_POST_documents => \&api_v1_POST_documents, |
|
|
|
api_v1_POST_documents_id_data => \&api_v1_POST_documents_id_data, |
|
|
|
api_v1_GET_documents_id_image => \&api_v1_GET_documents_id_image, |
|
|
|
api_v1_GET_pages_id_image => \&api_v1_GET_pages_id_image, |
|
|
|
api_v1_GET_documents => \&api_v1_GET_documents, |
|
|
|
api_v1_GET_documents_id => \&api_v1_GET_documents_id, |
|
|
|
api_v1_GET_pages_id => \&api_v1_GET_pages_id, |
|
|
|
api_v1_PATCH_documents_id => \&api_v1_PATCH_documents_id, |
|
|
|
api_v1_GET_documents => \&api_v1_GET_documents, |
|
|
|
api_v1_GET_documents_id => \&api_v1_GET_documents_id, |
|
|
|
api_v1_GET_pages_id => \&api_v1_GET_pages_id, |
|
|
|
api_v1_PATCH_documents_id => \&api_v1_PATCH_documents_id, |
|
|
|
); |
|
|
|
|
|
|
|
my $request = FCGI::Request(); |