don't send payload with request() if it's undefined