Can't successfully use FAVOR API

When I use FAVOR API Retrieve multiple variants function through terminal, I got “{“message”:“failed to save file”}”.

Hi, Please try using this curl example,

   curl --location 'api.genohub.org/v1/variants' \
            --form 'email="your_email"' \
            --form 'organization="your_organization"' \
            --form 'file=@"filename.txt"'
            --form 'input-type="text/plain"'
            --form 'output-type="csv"'
            --form 'coordinate-system="1-base"'
            --form 'left-normalization="true"'

You can also use our batch annotation page to submit a file. FAVOR - (Functional Annotation of Variants Online Resource)

Hi, there is still bad request error.
curl --location ‘https://api.genohub.org/v1/variants’ \
–form ‘email=“schen347@buffalo.edu”’
–form ‘organization=“roswell”’
–form ‘file=@“variants.txt”’
–form ‘input-type=“text/plain”’
–form ‘output-type=“csv”’
–form ‘coordinate-system=“1-base”’
–form ‘left-normalization=“true”’

{“message”:“bad request”}

Seem’s to be a problem with output-type, please try output-type=“text/csv”. Also please use abolsute path to the file.

curl --location ‘https://api.genohub.org/v1/variants
–form ‘email=schen347@buffalo.edu’
–form ‘organization=roswell’
–form ‘file=@“/Users/vineetverma/Documents/test.csv”’
–form ‘input-type=text/plain’
–form ‘output-type=text/csv’
–form ‘coordinate-system=1-base’
–form ‘left-normalization=false’