Starting the main of the request API