Check for arguments in getRequestPath