Create one scenario with many POST requests via loop

Hi, I’d like to create one scenario with one feeder that feeds to many API POST endpoints, but create it using a loop. My current solution looks like this:

val scnTest = scenario(“newScenario”).during(30 minutes) {
feed(userFeeder)
.exec(http("/ca-notifications/count-electable?rec_count=true").post("/ca-notifications/count-electable?rec_count=true").header(“Content-Type”, “application/json”).header(“Authorization”).body(ElFileBody()))
.exec(http("/ca-notifications/count-electable-by-country").post("/ca-notifications/count-electable-by-country").header(“Content-Type”, “application/json”).header(“Authorization”).body(ElFileBody()))
.exec(http("/ca-notifications/count-electable-by-next-response-deadline?rec_count=true").post("/ca-notifications/count-electable-by-next-response-deadline?rec_count=true").header(“Content-Type”, “application/json”).header(“Authorization”).body(ElFileBody()))
}

I’d like to avoid duplicating exec() methods and pass them from some kind of list utilizing a Map to pass the repeating parameters (http, post, header, body, etc) to that scenario. Is that possible?