parameterized curl extension