Zip-service

UI for testing zip-service. While implementation details of file authorization may vary between facilities, a valid jwt (JSON Web Token) is required for all of them. This can be specified either as a cookie (all requests), a url parameter (GET) or in the body (POST).

The default value of directory corresponds to the root of the scientific data directory tree. The specified files must all be directly under this directory.

By submitting the form on the right, a http POST is made to /zip, with the specified jwt, directory and file array as its body. The jwt can be omitted if already present as a cookie. If not, one has to be generated using the same secret as the zip-service, and a JSON payload containing the keys necessary for authorization.

JWT
Directory
Dataset PID
File 1
File 2
File 3