|
|
|
|
|
|
|
|
my $dbh = sqlconnect($conf->{sql}); |
|
|
my $dbh = sqlconnect($conf->{sql}); |
|
|
|
|
|
|
|
|
my %map = ( |
|
|
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_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_documents_id_image => \&api_v1_GET_documents_id_image, |
|
|
api_v1_GET_pages_id_image => \&api_v1_GET_pages_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(); |
|
|
my $request = FCGI::Request(); |