'Call ``POST /endpoints``.'

def test_create_endpoint_with_invalid_region_id(self):

    ref = unit.new_endpoint_ref(service_id=self.service_id)
    self.post('/endpoints', body={'endpoint': ref}, expected_status=http_client.BAD_REQUEST)
