[Midas] upload token

Mona Wong mona at sdsc.edu
Thu Jul 12 13:58:20 EDT 2012


	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

	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
*********************************************




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/midas/attachments/20120712/c4e542ca/attachment.html>


More information about the Midas mailing list