Call get and post method using volley library
pass the parameter on post method.
this is a common class to used any other activity to call it.
Some basic dependencies are required:
implementation 'com.android.volley:volley:1.0.0'
implementation 'com.android.support:multidex:1.0.1'