check for request type being received