I’ve been asked to provide an example of authenticating to login.farm via API call. What can be simpler than a shell script with curl? The example below is reading username and OTP+Password from standard input and perform a request. You will receive a JSON response with rc set to **** and errorMsg set to authenticated if working correctly.

If you don’t have a login.farm account yet, follow the special link http://bit.ly/loginfarm