This ASP.NET Web API allows users to transfer PDF files from one folder to another using REST API calls.
To get started, clone this repository to your local machine and open the solution file in Visual Studio. You will need to have .NET 6 or above installed.
Once you have the solution open, you can start the Web API project and make requests to the following endpoints:
- POST /upload-pdf: Uploads a PDF file to the server folder specified in post parameter. The request body should include the PDF file to upload, and the
folderName
. - GET /get-pdf: Get the file specified by the
filename
parameter from the folder specified byfolderName
parameter. - DELETE /delete-pdf: Delete the file specified by the
filename
parameter from the folder specified byfolderName
parameter. - GET /list-files: List all the pdf files in the folder specified by
folderName
parameter.
If you found PDF-Storage-API useful, please consider making a donation to support its ongoing development. Your contribution will help ensure that we can continue to provide updates and improvements to the app.
Developer paypal email: leo.phibonacci@gmail.com
Thank you for your support!