New Test Clig Creation API
Sonntag, Januar 25th, 2009Somewhat amusingly, I got multiple requests for a test API in the last few days. Why the sudden interest is beyond me, but I’m always happy to oblige. So please meet the new test API for clig creation.
To use it, simply add test=1 in query string variables of your API call. For example:
/api/v2/cligs/create?url=a&appid=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.
To reiterate, 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.
Update: Joe Dolson caught a typo. The query string variable is appid not app. This has not (and will not) change!



