Skip to content

Add presigned post endpoint

Daniel Schultz requested to merge 2-create-presigned-service into main

This MR adds our very first endpoint POST /presignedPosts, which will generate a presigned post in order to upload a pdf file to S3. Now that we have code it also includes some tests.

You can test this by running make run, going to the url listed in your CLI, and testing the endpoint using the swagger page.

Dev S3 credentials can be found in opass at `clients/lever-for-change/lfc-llm-pdf/s3/dev`

Resolves #2 (closed)

Edited by Daniel Schultz

Merge request reports

Loading