add component for printing reponse in console
getting the information of the request