[Iplant-api-dev] Agave clients

Matthew Vaughn vaughn at tacc.utexas.edu
Tue Jan 6 14:24:28 MST 2015


Here’s an example of the cURL syntax to create a client named “iplantc”. I have passed in my iPlant username and password (hidden here) as credentials. Hopefully this helps.

curl -sku "vaughn:xxxx" -X POST -d clientName=iplantc -d "tier=Unlimited" -d "description=" -d "callbackUrl=" https://agave.iplantc.org/clients/v2/?pretty=true

On Jan 6, 2015, at 3:15 PM, Duvick, Jonathan P [GDCBS] <jduvick at iastate.edu<mailto:jduvick at iastate.edu>> wrote:

What is the correct syntax for 'client name' to use when creating a client/retrieving API keys (http://agaveapi.co/live-docs/#!/clients/create_post_1)
-name?
-clientName?
-client_name?
-something else?
All three of these forms appear at various places in the documentation....
But no matter which one I use I always get
Keys not valid ; message: clientName is required

I'm refactoring code in a VM that currently uses the Foundation API to authenticate, and I'm stuck on this initial step. I'm using the php curl object syntax

Thanks,

Jon Duvick
PlantGDB Manager
http://www.plantgdb.org/
Department of Genetics, Development and Cell Biology
2258 Molecular Biology Building
Iowa State University
Ames IA 50011

(515) 294-2360
(515) 294-6755 FAX
_______________________________________________
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/vaughn%40tacc.utexas.edu?unsub=1&unsubconfirm=1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iplantcollaborative.org/pipermail/iplant-api-dev/attachments/20150106/7e713f01/attachment.html 


More information about the Iplant-api-dev mailing list