New Test Clig Creation API

5 views
Skip to first unread message

Pierre Far

unread,
Jan 25, 2009, 5:26:35 PM1/25/09
to Cli.gs Interested
All,

A new test API for all those of you who requested this:

To use it, simply add test=1 in query string variables of your API
call. For example:

/api/v2/cligs/create?url=a&app=b&key=c&output=d&test=1

If successful, the API will not save the clig but will return a valid
clig. Also, the HTTP header returned is 202 Accepted, not the usual
200 for success.

Even if you provide an API key, no clig will actually be created and
no clig will be saved. You’ll just get back a randomly-created clig
that will return a 404.

This test function is available only in V2 of the API, not version 1.

So... test away without polluting your accounts :)

Pierre
Reply all
Reply to author
Forward
0 new messages