[Midas] upload token
Patrick Reynolds
patrick.reynolds at kitware.com
Thu Jul 12 14:00:02 EDT 2012
Thanks,
Patrick Reynolds
Technical Leader
Kitware, Inc.
919 869 8848
On Thu, Jul 12, 2012 at 1:58 PM, Mona Wong <mona at sdsc.edu> wrote:
>
> I'm getting the following return on my call to midas.upload.generatetoken:
>
> {"stat":"ok","code":"0","message":"","data":{"token":"13\/62674\/rkd2_merged_phase001.nii.axmlwtNH5e"}}
>
> I tried passing the token to midas.upload.perform with:
>
> https://idash-data-qa.ucsd.edu/api/json?method=midas.upload.perform&uploadtoken13/62674/rkd2_merged_phase001.nii.axmlwtNH5e&filename=rkd2_merged_phase001.nii.axml&length=0&folderid=675&itemid=62674
Try: https://idash-data-qa.ucsd.edu/api/json?method=midas.upload.perform&uploadtoken=13/62674/rkd2_merged_phase001.nii.axmlwtNH5e&filename=rkd2_merged_phase001.nii.axml&length=0&folderid=675&itemid=62674
It looks like you missed an equals sign...
>
> But midas.upload.perform returned:
>
> {"stat":"fail","message":"Parameter uploadtoken is not defined","code":-150}
>
> Did I miss a step?
>
> Mona
> *********************************************
> Mona Wong
> Web & iPad Application Developer
> San Diego Supercomputer Center
>
> "Forgive everyone everything."
> -- Regina Brett
> *********************************************
>
>
>
>
>
> _______________________________________________
> Midas mailing list
> Midas at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/midas
>
More information about the Midas
mailing list