Visit the below endpoints
Login:
http://YOUR_MACHINE_IP/android_login_api/login.php
Registration:
http://YOUR_MACHINE_IP/android_login_api/register.php
Tutorial link:
http://www.androidhive.info/2012/01/android-login-and-registration-with-php-mysql-and-sqlite/