domain.com = http://fitness.hildes.info/
api:	url to hit
arg:	url arguments
req:	required fields
opt:	optinal fields
res:	responce in case of successfull
err:	responce in case of any error
not:	if any note with




index:
1.	Signup
2.	login
3.	Change Password
4.	Update Userdata
5.	Workouts
6.	Get Exercise
7.	Exercises
8.	Get Exercise By Workout
9.	Get Equipment By ID



1.	Signup
	api:	http://domain.com/api/signup?fname=ali&lname=khan&email=ali@khan.com&password=chor
	req:	{ fname, lname, email, password }
	res:	{ "status": true, "id": user_id}
	err:	{ "status": false, "msg": "invalid Api call!" } //in case link hit without form
	err:	{ "status": false, "msg": "Email is already in use." }

2.	login
	api:	http://domain.com/api/login?email=ali@khan.com&password=chor
	req:	{ email, password }
	res:	{ "status": true, "user": data }//user data return
	err:	{ "status": false, "msg": "invalid Api call!" } //in case link hit without form
			{ "status": false, "msg": "Email/Password not valid." }

3.	Change Password
	api:	http://domain.com/api/change-password?user_id=1&current_password=chor&new_password=chorchor
	req:	{ user_id, current_password, new_password }
	res:	{ "status": true }
	err:	{ "status": false, "msg": "invalid Api call!" } //in case link hit without form
			{ "status": false, "msg": "Please provide required data." }
			{ "status": false, "msg": "Current password do not match." }
			{ "status": false, "msg": "not updated, please try again." }

4.	Update Userdata
	api:	http://domain.com/api/update-userdata?user_id=8&fname=M AB&lname=Khan
	req:	{ user_id, fname, lname, email }
	opt:	{ gender(male/female), dob(date of birth), weight_unit, weight, height_unit, height, phone }
	res:	{ "status":true, "user": data }
	err:	{ "status": false, "msg": "invalid Api call!" } //in case link hit without form
			{ "status": false, "msg": "please provide required information" }
			{ "status": false, "msg": "not updated, please try again." }
			{ "status": false, "msg": "Email is already in use.(in case email updated)" }
			{ "status": false, "msg": "Error! : (dynamic error according to matter, in case image uploading)" }

5.	Workouts
	api:	http://domain.com/api/get-workouts/
	res:	{ "status": true , "data": data}

6.	Get Exercise
	api:	http://domain.com/api/get-exercise/exercise_id
	res:	{ "status": true , "data": data}

7.	Exercises
	api:	http://domain.com/api/exercises/
	res:	{ "status": true , "data": data}

8.	Get Exercise By Workout
	api:	http://domain.com/api/get-exercise-by-workout/workout_id
	res:	{ "status": true , "data": data}

9.	Get Equipment By ID
	api:	http://domain.com/api/get-equipment-byid/equipment_id
	res:	{ "status": true , "data": data}