check if the required request parameters for either names endpoint are correct
check_names(parameters, endpoint)
parameters
: - parameters list to be passed to specified Rosette API endpointendpoint
: - Rosette API endpoint to be utilizedReturns list of verified parameters to be sent to Rosette API