[Iplant-api-dev] Problem with Foundation API today
Rion Dooley
dooley at tacc.utexas.edu
Tue Jul 8 11:04:07 MST 2014
Lonestar is under maintenance, but should not impact what you’re trying to do. Looking at the curl command, I think it’s just a syntax issue. Try this:
curl -sku "usdbioinformatics:$TOKEN” \
-X POST \
-F "fileToUpload=ERRAT-2.0/test/test.sh” \
https://foundation.iplantc.org/io-v1/io/usdbioinformatics/applications/ERRAT-2.0/test \
| python -mjson.tool
--
Rion
On Jul 8, 2014, at 12:38 PM, Conn, Bill James <Bill.Conn at usd.edu<mailto:Bill.Conn at usd.edu>> wrote:
I cannot upload a file using Foundation API today.
curl -sku "usdbioinformatics:$TOKEN" -X POST -d ERRAT-2.0/test/test.shhttps://$APIHOST/io-v1/io/usdbioinformatics/applications/ERRAT-2.0/test | python -mjson.tool
{
"message": "The server encountered an unexpected condition which prevented it from fulfilling the request",
"result": null,
"status": "error"
}
Listing the directory seems fine.
Is there maintenance today or is something amiss?
Thanks,
Bill
Bill Conn
Computational Research Analyst
Information Technology Services
The University of South Dakota
A&S 212
Bill.Conn at usd.edu<mailto:Bill.Conn at usd.edu>
_______________________________________________
Iplant-api-dev Mailing List: Iplant-api-dev at iplantcollaborative.org<mailto:Iplant-api-dev at iplantcollaborative.org>
List Info and Archives: http://mail.iplantcollaborative.org/mailman/listinfo/iplant-api-dev
One-click Unsubscribe: http://mail.iplantcollaborative.org/mailman/options/iplant-api-dev/dooley%40tacc.utexas.edu?unsub=1&unsubconfirm=1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iplantcollaborative.org/pipermail/iplant-api-dev/attachments/20140708/19d6b7c7/attachment.html
More information about the Iplant-api-dev
mailing list