Skip to content

Manages file storage and attachment handling within ASPeL, including uploading, retrieving, and deleting document attachments for licences and projects.

License

Notifications You must be signed in to change notification settings

UKHomeOffice/asl-attachments

Repository files navigation

asl-attachments

About

Microservice for proving S3 storage of attachments

Usage

To run a local instance:

npm run dev

Uploading a file

This will return a response with a token to identify the attachment

curl -X POST http://localhost:8092 -F "file=@/image/location.jpg"

Result:

{
    "token":"acbdef123"
}

Download a file

Using the token returned by the upload

http://localhost:8092/acbdef123

About

Manages file storage and attachment handling within ASPeL, including uploading, retrieving, and deleting document attachments for licences and projects.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published