NOTE: The BioStar 2 Local API Server/BioStar 2 Web API are discontinued, this article is for reference only. For new developments please use the BioStar 2 API (version 2.9.x and later). 

Logging in is the very first step you would take with the BioStar 2 API. 

The wording of some values are confusing so you must read the Data Type > Model documentation to login successfully.


The /login API is found in the following URL: 

https://api.biostar2.com/v2/docs/#!/Auth/login_post



Below is a sample user I created in BioStar 2.


Accordingly if I enter the information as below in the Parameters :


and press Try it out!

The result will be NOT_FOUND. 


This is because the name portion is not the user name.
It should be the subdomain name as the documentation says. 



My subdomain name is ethan 11.


Hence if I input that subdomain name to name and press Try it out!


Login succeeds with Response Code 200.