Skip to content

Accept post request from form submission #19

@nitrosx

Description

@nitrosx

Current requests from SciCat are submitted through a POST request generated from a FORM.
I would like to be able to submit a request to generate a notebook directly when submitting a FORM which has the following format:

curl 
 -H 'application/x-www-form-urlencoded' 
 -d 'auth_token=Bearer+<MY_JWT>&dataset=20.500.12269%2F9bf3425a-fe4d-11ef-94d4-fa163e9aae0a&directory=%2Fess%2Fdata%2Fcoda%2F2025%2F977695&files%5B0%5D=%2Fess%2Fraw%2Fcoda%2F2025%2F977695%2Fraw%2F977695_00051726.hdf'
 -X POST https://jug-staging.scicat.ess.eu/notebook/templates 

AT the moment sciwyrm responds that the input is invalid

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions