Trying access a API

I tried access the API of an local site, but that gives me:

Login method needs two parameters usr and pwd as post data. You cannot do it from browser without using extentions like Postman for Chrome or RESTClient for Firefox.
Refer this thread for examples using curl.