Tay Ray Chuan home archive

IVLE LAPI: requesting a token from the command-line

Thu, 19 Jan 2012 02:13:58 +0800 | Filed under ivle lapi, curl, recipe, unix

The API to NUS IVLE, called LAPI, has been around for some time. Below is a demonstration of how one can retrieve an AuthToken:

You might have noticed that awk was used to extract the value attribute from the input element for __VIEWSTATE!

If you can find a shorter curl invocation, let us know.

blog comments powered by Disqus