fold parameters when calling inner method (http action)