console log the req type and req url